/* ==========================================================================
   Rashtriya Shrotriya Brahman Sangh — Global Stylesheet
   राष्ट्रीय श्रोत्रीय ब्राह्मण संघ
   Author: RSBS Web Team | Version 1.0
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette drawn from the Sangh emblem */
  --saffron:        #E0761C;
  --saffron-dark:   #C05F12;
  --saffron-soft:   #F5A94E;
  --maroon:         #6E1717;
  --maroon-dark:    #4E0F0F;
  --maroon-soft:    #8E3030;
  --gold:           #BE9440;
  --gold-light:     #E3C77E;
  --cream:          #FBF5E9;
  --cream-2:        #F4E9D6;
  --paper:          #FFFDF8;
  --ink:            #2B211A;
  --ink-soft:       #5B4C40;
  --ink-faint:      #857466;
  --line:           #E5D7BF;
  --white:          #FFFFFF;

  /* Type */
  --f-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-deva: "Noto Serif Devanagari", "Nirmala UI", serif;

  /* Rhythm */
  --shell: 1200px;
  --gap: 1.5rem;
  --radius: 14px;
  --radius-sm: 8px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(43,33,26,.06), 0 2px 8px rgba(43,33,26,.05);
  --sh-2: 0 4px 14px rgba(43,33,26,.09), 0 12px 32px rgba(43,33,26,.07);
  --sh-3: 0 18px 48px rgba(78,15,15,.16);

  --ease: cubic-bezier(.22,.75,.3,1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--maroon);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--maroon); text-decoration-color: rgba(224,118,28,.45); text-underline-offset: 3px; }
a:hover { color: var(--saffron-dark); }

ul, ol { padding-left: 1.25rem; margin: 0 0 1.2em; }
li { margin-bottom: .5em; }

strong { font-weight: 650; color: var(--ink); }
em { color: var(--ink-soft); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--gold-light); color: var(--maroon-dark); }

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Devanagari text */
.deva, [lang="hi"], [lang="sa"] { font-family: var(--f-deva); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--maroon); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
/* The header carries a full navigation, so it gets a slightly wider track
   than the 1200px content column. */
.topbar .shell, .site-header .shell { width: min(100% - 2.5rem, 1360px); }
.shell-narrow { width: min(100% - 2.5rem, 860px); margin-inline: auto; }

section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
section.tight { padding: clamp(2rem, 4vw, 3.2rem) 0; }

.bg-paper { background: var(--paper); }
.bg-cream2 { background: var(--cream-2); }
.bg-maroon { background: var(--maroon); color: var(--cream); }
.bg-maroon h2, .bg-maroon h3 { color: var(--gold-light); }

.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- 4. Ornaments ---------- */
.om-rule {
  display: flex; align-items: center; justify-content: center;
  gap: .9rem; margin: 1rem 0 1.8rem;
}
.om-rule::before, .om-rule::after {
  content: ""; height: 1px; width: 64px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.om-rule::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.om-rule span { color: var(--saffron); font-size: 1.1rem; line-height: 1; }

.kicker {
  display: inline-block;
  font-family: var(--f-deva);
  font-size: .84rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  background: rgba(224,118,28,.09);
  border: 1px solid rgba(224,118,28,.22);
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--ink-soft); }

/* Subtle repeating mandala-ish pattern */
.pattern-bg {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(190,148,64,.20) 1px, transparent 0);
  background-size: 22px 22px;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem;
  padding: .82rem 1.6rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(192,95,18,.28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(192,95,18,.36); }

.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-dark); color: #fff; }

.btn-ghost { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-ghost:hover { background: var(--maroon); color: #fff; }

.btn-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-light:hover { background: #fff; color: var(--maroon); }

.btn-sm { padding: .55rem 1.15rem; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

/* ---------- 6. Header & navigation ---------- */
.topbar {
  background: var(--maroon-dark);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; align-items: center; }
.topbar a { color: rgba(255,255,255,.86); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar-links { display: flex; gap: 1.1rem; align-items: center; }
.topbar .sanskrit { font-family: var(--f-deva); color: var(--gold-light); letter-spacing: .02em; }

/* NOTE: no backdrop-filter / transform / filter here — any of those would make
   this element the containing block for the position:fixed mobile nav drawer. */
.site-header {
  position: sticky; top: 0; z-index: 95;   /* must stay above .nav-scrim (94) */
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand img {
  width: 54px; height: 54px; flex: none;
  clip-path: circle(49% at 50% 50%);
  transition: transform .3s var(--ease);
}
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-hi, .brand-en { color: var(--maroon); line-height: 1.25; white-space: nowrap; }
.brand-hi { font-family: var(--f-deva); font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.brand-en { font-family: "Marcellus", Georgia, serif; font-size: 1.04rem; font-weight: 400; letter-spacing: .005em; }
/* One language per page: the brand line is emitted in the page's own language,
   on two lines, so the header stays inside the 1200px shell beside the full nav. */
@media (max-width: 1260px) and (min-width: 1101px) {
  .brand-hi { font-size: .9rem; }
  .brand-en { font-size: .94rem; }
}
@media (max-width: 1420px) and (min-width: 1251px) {
  .nav-link { padding: .6rem .42rem; font-size: .8rem; }
  .header-inner { gap: .6rem; }
  .btn-sm { padding: .5rem .95rem; font-size: .82rem; }
  .lang-switch.in-header { padding: .42rem .7rem; font-size: .78rem; }
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: .1rem; }
.nav > li { list-style: none; margin: 0; position: relative; }
.nav-list { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; }
.nav-list > li { list-style: none; margin: 0; position: relative; }

.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .78rem;
  font-size: .88rem; font-weight: 550;
  color: var(--ink); text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .18s, background .18s;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--saffron-dark); background: rgba(224,118,28,.08); }
.nav-list > li.current > .nav-link { color: var(--maroon); }
.nav-list > li.current > .nav-link::after {
  content: ""; position: absolute; left: .78rem; right: .78rem; bottom: .18rem;
  height: 2px; background: var(--saffron); border-radius: 2px;
}
.nav-link .caret { width: 9px; height: 9px; transition: transform .2s var(--ease); opacity: .6; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 244px; padding: .5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sh-2);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-list > li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: .55rem .8rem; border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--ink); text-decoration: none;
}
.dropdown a:hover { background: var(--cream-2); color: var(--maroon); }
.dropdown a small { display: block; font-size: .74rem; color: var(--ink-faint); font-family: var(--f-deva); }

.header-cta { display: flex; gap: .5rem; align-items: center; flex: none; }
.nav-mobile-cta { display: none; }
@media (max-width: 1500px) { .hide-md { display: none; } }

.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  border: 1px solid var(--line); background: var(--paper);
  border-radius: var(--radius-sm); cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: var(--maroon); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(224,118,28,.20), transparent 60%),
    radial-gradient(900px 460px at 8% 110%, rgba(190,148,64,.20), transparent 60%),
    linear-gradient(160deg, #FDF8EE 0%, #F5E9D3 100%);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(110,23,23,.10) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  position: relative; z-index: 1;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .hi { display: block; font-family: var(--f-deva); font-size: .52em; color: var(--saffron-dark); margin-top: .35em; font-weight: 600; }
.hero-tag {
  font-family: var(--f-display); font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--maroon-soft); font-style: italic; margin-bottom: 1.4rem;
}
.hero p { max-width: 56ch; color: var(--ink-soft); }
.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem img {
  width: min(100%, 360px);
  clip-path: circle(49% at 50% 50%);
  filter: drop-shadow(0 22px 44px rgba(78,15,15,.22));
  animation: floaty 7s ease-in-out infinite;
}
.hero-emblem::after {
  content: ""; position: absolute; width: min(96%, 350px); aspect-ratio: 1;
  border: 1px dashed rgba(190,148,64,.55); border-radius: 50%;
  animation: spin 60s linear infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero-emblem img, .hero-emblem::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(224,118,28,.30), transparent 60%),
    linear-gradient(140deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 4.2rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .hi { font-family: var(--f-deva); color: var(--gold-light); font-size: 1.05rem; display: block; margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 62ch; margin: 0; }
.page-hero .shell { position: relative; z-index: 1; }

/* Breadcrumbs */
.crumbs { font-size: .82rem; margin-bottom: 1.1rem; color: rgba(255,255,255,.7); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: .45rem; opacity: .6; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold-light); }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: rgba(190,148,64,.6); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card .hi { font-family: var(--f-deva); font-size: .8rem; color: var(--saffron-dark); display: block; margin-bottom: .25rem; }

.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(224,118,28,.16), rgba(190,148,64,.16));
  border: 1px solid rgba(190,148,64,.32);
  font-size: 1.5rem; line-height: 1;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--maroon); fill: none; stroke-width: 1.6; }

.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; font-size: .88rem; color: var(--saffron-dark);
  text-decoration: none; margin-top: 1rem;
}
.card-link::after { content: "→"; transition: transform .2s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

a.card { text-decoration: none; color: inherit; display: block; }

/* Feature card with left accent */
.card-accent { border-left: 4px solid var(--saffron); }

/* ---------- 9. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 1rem; }
.stat {
  text-align: center; padding: 1.6rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
}
.stat .num {
  font-family: var(--f-display); font-size: clamp(2rem,4vw,2.7rem);
  color: var(--gold-light); line-height: 1; display: block;
}
.stat .lbl { font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: .5rem; display: block; }

/* ---------- 10. Timeline ---------- */
.timeline { position: relative; padding-left: 2.4rem; list-style: none; margin: 0; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: .5rem; bottom: .5rem;
  width: 2px; background: linear-gradient(180deg, var(--saffron), var(--gold), transparent);
}
.timeline li { position: relative; margin-bottom: 1.9rem; }
.timeline li::before {
  content: ""; position: absolute; left: -2.4rem; top: .42rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--saffron);
  box-shadow: 0 0 0 4px rgba(224,118,28,.14);
}
.timeline .yr {
  display: inline-block; font-family: var(--f-display); font-size: 1.15rem;
  color: var(--maroon); margin-bottom: .2rem;
}
.timeline p { margin: 0; color: var(--ink-soft); }

/* ---------- 11. Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--sh-1); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
caption { text-align: left; padding: 1rem 1.2rem .2rem; font-size: .86rem; color: var(--ink-faint); }
th, td { padding: .9rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
thead th {
  background: var(--cream-2); color: var(--maroon);
  font-family: var(--f-body); font-weight: 650; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(224,118,28,.045); }

/* ---------- 12. Accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--sh-1); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-size: 1.08rem; color: var(--maroon); text-align: left;
  transition: background .18s;
}
.acc-btn:hover { background: var(--cream-2); }
.acc-btn .ico {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--saffron); color: var(--saffron);
  display: grid; place-items: center; font-size: 1rem; line-height: 1;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.acc-btn[aria-expanded="true"] .ico { transform: rotate(45deg); background: var(--saffron); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel .inner { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); }

/* ---------- 13. Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--sh-1);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #B4322A; }
.field .hint { font-size: .78rem; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: .95rem; color: var(--ink);
  padding: .72rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(224,118,28,.16);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.field .err { font-size: .78rem; color: #B4322A; min-height: 1em; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--saffron); flex: none; }

.form-note { font-size: .85rem; color: var(--ink-faint); margin-top: 1rem; }
.form-status {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .9rem; display: none;
}
.form-status.ok { display: block; background: #EAF5EC; border: 1px solid #BCDFC4; color: #1F5B2D; }
.form-status.bad { display: block; background: #FBEDEC; border: 1px solid #F0C7C3; color: #96271C; }

/* ---------- 14. Misc components ---------- */
.notice {
  border-left: 4px solid var(--saffron);
  background: rgba(224,118,28,.07);
  padding: 1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .94rem;
}
.notice strong { color: var(--maroon); }

.pill {
  display: inline-block; font-size: .74rem; font-weight: 650;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 100px;
  background: rgba(110,23,23,.09); color: var(--maroon);
}
.pill.saffron { background: rgba(224,118,28,.14); color: var(--saffron-dark); }
.pill.gold { background: rgba(190,148,64,.18); color: #7A5D1E; }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(224,118,28,.14); color: var(--saffron-dark);
  display: grid; place-items: center; font-size: .74rem; font-weight: 700;
}

.num-list { list-style: none; padding: 0; counter-reset: n; }
.num-list li { position: relative; padding-left: 2.6rem; margin-bottom: 1rem; counter-increment: n; }
.num-list li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: .05rem;
  font-family: var(--f-display); font-size: 1rem; color: var(--saffron-dark);
  background: rgba(224,118,28,.1); border: 1px solid rgba(224,118,28,.24);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
}

/* Person card */
.person { text-align: center; }
.person .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto .9rem;
  background: linear-gradient(135deg, var(--cream-2), var(--gold-light));
  border: 2px solid var(--gold); display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.9rem; color: var(--maroon);
}
.person .role { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--saffron-dark); font-weight: 650; }
.person h3 { margin: .4rem 0 .2rem; font-size: 1.15rem; }
.person .loc { font-size: .86rem; color: var(--ink-faint); }

/* Org chart */
.orgchart { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.org-node {
  background: var(--paper); border: 1.5px solid var(--gold);
  border-radius: var(--radius); padding: 1rem 1.6rem; box-shadow: var(--sh-1);
  min-width: 260px;
}
.org-node strong { display: block; color: var(--maroon); font-family: var(--f-display); font-size: 1.1rem; font-weight: 400; }
.org-node span { font-size: .82rem; color: var(--ink-faint); font-family: var(--f-deva); }
.org-arrow { color: var(--saffron); font-size: 1.4rem; line-height: 1; }
.org-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: .8rem; width: 100%; margin-top: .5rem; }
.org-side .org-node { min-width: 0; padding: .8rem 1rem; border-style: dashed; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1rem; }
.gallery figure {
  margin: 0; border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4/3; cursor: pointer; border: 1px solid var(--line);
  background: var(--cream-2); box-shadow: var(--sh-1);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(43,33,26,.86));
  color: #fff; font-size: .85rem;
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  place-items: center; background: rgba(30,18,12,.92); padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 80vh; border-radius: var(--radius); box-shadow: var(--sh-3); }
.lightbox .cap { color: #fff; text-align: center; margin-top: 1rem; font-size: .95rem; }
.lightbox .close {
  position: absolute; top: 1.4rem; right: 1.6rem; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1);
  color: #fff; font-size: 1.4rem; cursor: pointer;
}

/* News list */
.news-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 1.2rem;
  padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--sh-1); align-items: start;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.news-date {
  text-align: center; padding: .6rem .3rem; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: #fff;
}
.news-date .d { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.news-date .m { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .25rem; color: var(--gold-light); }
.news-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.news-item p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .6rem; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; justify-content: center; }
.chip {
  padding: .45rem 1.05rem; border-radius: 100px; font-size: .86rem; font-weight: 600;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft);
  cursor: pointer; font-family: inherit; transition: all .18s;
}
.chip:hover { border-color: var(--saffron); color: var(--saffron-dark); }
.chip.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(224,118,28,.35), transparent 60%),
    linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center; box-shadow: var(--sh-3);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin-inline: auto; }

/* Donate tiers */
.tier {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  background: var(--paper); text-align: center; position: relative; height: 100%;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.tier:hover { transform: translateY(-5px); border-color: var(--saffron); box-shadow: var(--sh-2); }
.tier.featured { border-color: var(--saffron); box-shadow: var(--sh-2); }
.tier.featured::before {
  content: "लोकप्रिय";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--saffron); color: #fff; font-size: .74rem; font-weight: 600;
  padding: .25rem .9rem; border-radius: 100px; white-space: nowrap;
}
.tier .amt { font-family: var(--f-display); font-size: 2.2rem; color: var(--maroon); display: block; margin: .5rem 0; }
.tier .amt small { font-size: .9rem; color: var(--ink-faint); font-family: var(--f-body); }

/* Verify tool result */
.verify-result {
  margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-radius: var(--radius);
  border: 1px dashed var(--gold); background: var(--cream-2); display: none;
}
.verify-result.show { display: block; }
.verify-result dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; font-size: .92rem; }
.verify-result dt { font-weight: 650; color: var(--maroon); }
.verify-result dd { margin: 0; }

/* Contact info block */
.contact-line { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-line .ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(224,118,28,.12); border: 1px solid rgba(224,118,28,.26); font-size: 1.05rem;
}
.contact-line strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--saffron-dark); }

/* Map embed */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-1); background: var(--cream-2); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- 15. Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--maroon-dark) 0%, #3A0B0B 100%);
  color: rgba(255,255,255,.74);
  padding: clamp(3rem,5vw,4.5rem) 0 0;
  font-size: .92rem;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--saffron));
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.2rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.1rem; }
.footer-brand img { width: 58px; height: 58px; clip-path: circle(49% at 50% 50%); }
.footer-brand .n { color: var(--gold-light); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
html[lang="hi"] .footer-brand .n { font-family: var(--f-deva); }
html[lang="en"] .footer-brand .n { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: 1.12rem; }
.site-footer h4 {
  color: var(--gold-light); font-family: var(--f-body); font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 650;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.74); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-motto { font-family: var(--f-deva); color: var(--gold-light); font-size: .95rem; margin-top: 1rem; font-style: normal; }

.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  transition: background .2s, transform .2s;
}
.social a:hover { background: var(--saffron); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; fill: #fff; }

.newsletter-mini { display: flex; gap: .5rem; margin-top: .9rem; }
.newsletter-mini input {
  flex: 1; min-width: 0; padding: .65rem .85rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08);
  color: #fff; font-family: inherit; font-size: .88rem;
}
.newsletter-mini input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-mini input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.14); }
.newsletter-mini button { padding: .65rem 1.15rem; font-size: .86rem; }

.footer-bottom {
  margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  font-size: .84rem; color: rgba(255,255,255,.6);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* Back to top */
.to-top {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--maroon); color: #fff; font-size: 1.1rem;
  box-shadow: var(--sh-2); opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .25s var(--ease), background .2s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--saffron); transform: translateY(-3px); }

/* ---------- 16. Reveal on scroll ---------- */
/* Hidden only when JavaScript is available — content stays visible without it. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1250px) {
  .nav-toggle { display: grid; position: relative; z-index: 96; } /* above the drawer */
  .header-cta .btn:not(.nav-toggle) { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
    background: var(--paper); border-left: 1px solid var(--line);
    box-shadow: var(--sh-3); padding: 5.5rem 1.4rem 2rem;
    overflow-y: auto; transform: translateX(100%);
    transition: transform .32s var(--ease); z-index: 95;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-link { padding: .85rem 1rem; font-size: 1rem; justify-content: space-between; width: 100%; }
  .nav-list > li.current > .nav-link::after { display: none; }
  .nav-list > li.current > .nav-link { background: rgba(224,118,28,.1); color: var(--saffron-dark); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: .1rem 0 .5rem .9rem; padding: 0 0 0 .5rem;
    display: none; min-width: 0;
  }
  .nav-list > li.open .dropdown { display: block; }
  .nav-mobile-cta { display: grid; gap: .6rem; margin-top: 1.4rem; }
  .nav-mobile-cta .btn { justify-content: center; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(43,33,26,.5); z-index: 94;
    opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .nav-scrim.open { opacity: 1; visibility: visible; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-emblem { order: -1; }
  .hero-emblem img { width: min(72%, 260px); }
}

@media (max-width: 1250px) {
  .brand-hi { font-size: .95rem; }
  .brand-en { font-size: .98rem; }
  .header-inner { gap: .5rem; }
}

@media (max-width: 720px) {
  .topbar-links .hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { width: 88px; }
  .brand img { width: 46px; height: 46px; }
  .brand-hi { font-size: .84rem; }
  .brand-en { font-size: .86rem; }
  section { padding: 2.6rem 0; }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
}

@media (max-width: 420px) {
  .shell, .shell-narrow { width: calc(100% - 1.8rem); }
  .btn { padding: .75rem 1.25rem; font-size: .9rem; }
}

/* ---------- 18. Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .topbar, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}

/* ==========================================================================
   19. Bilingual layer  —  हिन्दी / English
   The Hindi tree simply swaps the two font tokens, so every component that
   uses var(--f-body) / var(--f-display) follows automatically.
   ========================================================================== */
html[lang="hi"] {
  --f-body: "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif;
  --f-display: "Noto Serif Devanagari", "Nirmala UI", "Mangal", serif;
}

/* Devanagari needs more breathing room than Latin */
html[lang="hi"] body { line-height: 1.85; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3,
html[lang="hi"] h4, html[lang="hi"] h5 { line-height: 1.38; letter-spacing: 0; }
html[lang="hi"] li { margin-bottom: .6em; }

/* Uppercase + wide tracking is a Latin idiom — undo it for Devanagari */
html[lang="hi"] .kicker { letter-spacing: .04em; text-transform: none; font-weight: 500; }
html[lang="hi"] .stat .lbl,
html[lang="hi"] .person .role,
html[lang="hi"] .pill,
html[lang="hi"] thead th,
html[lang="hi"] .site-footer h4,
html[lang="hi"] .contact-line strong { letter-spacing: .02em; text-transform: none; }

/* Latin fragments inside Hindi pages keep a Latin face */
html[lang="hi"] .brand-en,
html[lang="hi"] .card .hi,
html[lang="hi"] .page-hero .hi,
html[lang="hi"] .org-node span,
html[lang="hi"] code { font-family: "Inter", system-ui, sans-serif; }
html[lang="hi"] .hero h1 .hi { font-family: "Marcellus", Georgia, serif; }
html[lang="hi"] .hero-tag { font-family: var(--f-display); font-style: normal; }

/* Devanagari inside English pages */
html[lang="en"] [lang="hi"], html[lang="en"] .deva { font-family: var(--f-deva); }

html[lang="en"] .tier.featured::before { content: "Popular"; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  line-height: 1;
}
.lang-switch span { font-size: .95em; }

.lang-switch.in-topbar {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px; padding: .2rem .65rem;
  font-size: .78rem; color: rgba(255,255,255,.9);
}
.lang-switch.in-topbar:hover { background: rgba(255,255,255,.14); color: #fff; }

.lang-switch.in-header {
  border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 100px; padding: .45rem .85rem;
  font-size: .82rem; color: var(--maroon);
  transition: border-color .18s, background .18s, color .18s;
}
.lang-switch.in-header:hover { border-color: var(--saffron); color: var(--saffron-dark); background: rgba(224,118,28,.07); }

.lang-switch.in-drawer {
  justify-content: center; padding: .8rem 1.2rem;
  border: 1.5px dashed var(--gold); border-radius: 100px;
  color: var(--maroon); font-size: .95rem;
}

/* On narrow screens the topbar copy goes; keep the switcher */
@media (max-width: 1250px) {
  .lang-switch.in-header { display: none; }
}
@media (min-width: 1251px) {
  .lang-switch.in-topbar { display: none; }
  .lang-switch.in-drawer { display: none; }
}

/* ==========================================================================
   18. Matrimonial directory  ·  वैवाहिकी
   ========================================================================== */
.m-toolbar { display: grid; gap: 1.1rem; }
.m-toolbar .chips { margin-bottom: 0; }

.m-filters {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem; align-items: end;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--sh-1);
}
.m-filters .btn { white-space: nowrap; }
@media (max-width: 860px) { .m-filters { grid-template-columns: 1fr 1fr; } .m-filters .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .m-filters { grid-template-columns: 1fr; } }

.m-count { text-align: center; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.m-count strong { color: var(--maroon); font-family: var(--f-display); font-size: 1.15rem; }

.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1.4rem; }

.m-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.m-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: rgba(190,148,64,.65); }

.m-photo {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--cream-2), var(--gold-light));
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.m-photo .initial {
  font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--maroon);
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.72); border: 2px solid var(--gold);
}
html[lang="hi"] .m-photo .initial { font-family: var(--f-deva); font-size: 2.5rem; }

.m-badge {
  position: absolute; top: .7rem; left: .7rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  padding: .3rem .72rem; border-radius: 100px; color: #fff;
}
.m-badge.is-var   { background: var(--maroon); }
.m-badge.is-vadhu { background: var(--saffron-dark); }
.m-id {
  position: absolute; bottom: .6rem; right: .7rem;
  font-size: .7rem; letter-spacing: .04em; color: var(--ink-soft);
  background: rgba(255,255,255,.8); border: 1px solid rgba(190,148,64,.5);
  padding: .2rem .55rem; border-radius: 100px;
}

.m-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.m-name { margin: 0 0 .2rem; font-size: 1.16rem; }
.m-sub { font-size: .85rem; color: var(--saffron-dark); font-weight: 600; margin: 0 0 .8rem; }

.m-facts { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .87rem; }
.m-facts li { display: flex; gap: .6rem; margin-bottom: .42rem; align-items: baseline; }
.m-facts .k { color: var(--ink-faint); flex: none; min-width: 84px; font-size: .8rem; }
.m-facts .v { color: var(--ink); }

.m-contact { margin-top: auto; border-top: 1px dashed var(--line); padding-top: .8rem; }
.m-contact summary {
  cursor: pointer; list-style: none; font-size: .87rem; font-weight: 650;
  color: var(--maroon); display: flex; align-items: center; gap: .45rem;
}
.m-contact summary::-webkit-details-marker { display: none; }
.m-contact summary::before { content: "＋"; color: var(--saffron); font-weight: 700; }
.m-contact[open] summary::before { content: "－"; }
.m-contact summary:hover { color: var(--saffron-dark); }
.m-contact-in { margin-top: .7rem; font-size: .85rem; }
.m-contact-in p { margin: 0 0 .45rem; }
.m-contact-in strong {
  display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--saffron-dark);
}
html[lang="hi"] .m-contact-in strong { text-transform: none; letter-spacing: .02em; }
.m-contact-in .m-note { color: var(--ink-faint); font-size: .78rem; margin-top: .6rem; }

.m-empty {
  text-align: center; color: var(--ink-faint); font-size: .95rem;
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 2.4rem 1.5rem; background: var(--paper);
}
.m-card.is-hidden, section.is-hidden { display: none; }

/* ==========================================================================
   19. Member login  ·  सदस्य लॉगिन
   ========================================================================== */
.auth-wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; gap: 2.4rem; } }

.auth-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-2); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.auth-tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.auth-tab {
  font-family: var(--f-body); font-size: .95rem; font-weight: 650; cursor: pointer;
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: .7rem 1.05rem; color: var(--ink-soft); margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
html[lang="hi"] .auth-tab { font-family: var(--f-deva); }
.auth-tab:hover { color: var(--saffron-dark); }
.auth-tab.active { color: var(--maroon); border-bottom-color: var(--saffron); }

.form-grid.one { grid-template-columns: 1fr; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.auth-link { font-size: .87rem; color: var(--maroon); text-decoration: none; border-bottom: 1px dotted var(--gold); }
.auth-link:hover { color: var(--saffron-dark); }
.check.mb-0 { margin-bottom: 0; }

.pw-wrap { position: relative; display: flex; }
.pw-wrap input { padding-right: 3rem; }
.pw-toggle {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; font-size: 1.05rem; line-height: 1;
  padding: .35rem .5rem; border-radius: var(--radius-sm); opacity: .55;
}
.pw-toggle:hover { opacity: 1; background: var(--cream-2); }

.auth-member { text-align: center; padding: 1rem 0 .4rem; }
.auth-avatar {
  width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem;
  background: linear-gradient(140deg, var(--cream-2), var(--gold-light));
  border: 2px solid var(--gold);
}
.auth-member h3 { margin: 0 0 .3rem; }
.auth-sub { font-size: .9rem; color: var(--ink-soft); margin: 0; }

.auth-aside .tick-list li { font-size: .95rem; }
.topbar-login { font-weight: 600; }
