/* ============================================================
   Lakshmi Narain & Parvati Goel Charitable Trust, stylesheet
   ============================================================ */

:root {
  --bg: #FBF8F2;
  --surface: #FFFFFF;
  --ink: #22302B;
  --ink-soft: #5C6B64;
  --line: #E8E1D2;
  --gold: #B98A2F;
  --gold-deep: #9A7124;
  --gold-soft: #F5EDDA;
  --gold-faint: #FAF4E6;
  --green: #1E4D3F;
  --green-deep: #16382E;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(34, 48, 43, 0.08);
  --shadow-lift: 0 22px 60px rgba(34, 48, 43, 0.13);
  --font-display: "Fraunces", "Tiro Devanagari Hindi", Georgia, serif;
  --font-body: "Inter", "Mukta", -apple-system, "Segoe UI", sans-serif;
  --font-devanagari: "Tiro Devanagari Sanskrit", "Tiro Devanagari Hindi", "Devanagari MT", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--gold-soft); color: var(--gold-deep); }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 520; line-height: 1.1; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }

h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--gold-deep); }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

/* numbered section label, 01 ... Our Story */
.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.section-label .sec-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
}
.section-label .sec-line { height: 1px; width: 56px; background: var(--gold); opacity: 0.55; }
.section-label .sec-title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* drop cap for story paragraphs */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--gold-deep);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track, .orbit-ring { animation: none !important; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px rgba(34, 48, 43, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; flex-shrink: 0; object-fit: contain; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -5px;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.active:not(.nav-cta)::after { right: 0; }
.site-nav a.active { color: var(--ink); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }

/* mobile nav */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 8px; z-index: 60; }
.nav-toggle-label span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: 0.25s var(--ease);
}

@media (max-width: 880px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 22px;
  }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav a:last-child { border-bottom: none; margin-top: 14px; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(185, 138, 47, 0.13), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 38px; }

/* rotating orbit badge around the emblem */
.hero-emblem { display: flex; align-items: center; justify-content: center; }
.orbit { position: relative; width: min(360px, 78%); aspect-ratio: 1; }
.orbit-ring { width: 100%; height: 100%; animation: spin 36s linear infinite; }
.orbit-ring text {
  font-family: var(--font-body);
  font-size: 10.2px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  fill: var(--gold-deep);
  opacity: 0.85;
}
.orbit-core {
  position: absolute;
  inset: 19%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.orbit-core svg { width: 58%; height: 58%; }
.orbit-core img { width: 66%; height: 66%; object-fit: contain; }

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

@media (max-width: 880px) {
  .hero { padding: 64px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-emblem { order: -1; }
  .orbit { width: 210px; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track .sep { color: var(--gold); font-style: normal; font-size: 0.8rem; }
.marquee-track .dev { font-family: var(--font-devanagari); font-style: normal; color: var(--gold-deep); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: all 0.22s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .arr { transition: transform 0.22s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 56, 46, 0.22); }

.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid rgba(34, 48, 43, 0.5); }
.btn-secondary:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(154, 113, 36, 0.28); }

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tinted { background: var(--gold-faint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 { margin-bottom: 18px; }

@media (max-width: 640px) { .section { padding: 68px 0; } }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.section-alt .card, .section-tinted .card { box-shadow: none; }
.section-alt .card:hover, .section-tinted .card:hover { box-shadow: var(--shadow); }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--gold-deep); }

/* ---------- Numbered editorial list (What we do / How we work) ---------- */

.num-list { border-top: 1px solid var(--line); }
.num-list .num-item {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 34px;
  align-items: baseline;
  padding: 38px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.num-list .num-item:hover { background: var(--gold-faint); padding-left: 22px; }
.num-list .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
}
.num-list h3 { font-size: 1.45rem; }
.num-list p { color: var(--ink-soft); font-size: 0.99rem; }

@media (max-width: 880px) {
  .num-list .num-item { grid-template-columns: 1fr; gap: 8px; padding: 30px 6px; }
  .num-list .num-item:hover { padding-left: 6px; }
}

/* ---------- Photo placeholders & frames ---------- */

.photo-placeholder {
  background: linear-gradient(160deg, var(--gold-soft), #EFE5CC);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold-deep);
  text-align: center;
  padding: 24px;
}
.photo-placeholder svg { width: 44px; height: 44px; stroke: var(--gold-deep); opacity: 0.7; }
.photo-placeholder span { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em; }

.portrait { aspect-ratio: 4 / 5; }

/* real photographs dropped into the same slots as the placeholders */
img.portrait, img.landscape, img.square {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.landscape { aspect-ratio: 16 / 10; }
.square { aspect-ratio: 1; }

/* gold offset frame, the "expensive" double-border look */
.frame { position: relative; }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  transform: translate(16px, 16px);
  pointer-events: none;
  opacity: 0.6;
  transition: transform 0.35s var(--ease);
  z-index: -1;
}
.frame:hover::after { transform: translate(10px, 10px); }

.founder-card { text-align: center; }
/* Space below the portrait must clear the gold frame, which is offset 16px
   downward, otherwise its bottom edge cuts through the name below. */
.founder-card .photo-placeholder,
.founder-card .frame { margin-bottom: 34px; }
.founder-card h3 { font-size: 1.4rem; }
.founder-card .role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 6px;
}
.founder-card .bio { color: var(--ink-soft); font-size: 0.94rem; margin-top: 14px; text-align: center; }

/* ---------- Quote band ---------- */

.quote-band {
  background: var(--green-deep);
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(185, 138, 47, 0.22), transparent 60%);
}
.quote-band .container { position: relative; }
.quote-dev {
  font-family: var(--font-devanagari);
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  color: #EFD9A7;
  line-height: 1.4;
  margin-bottom: 26px;
}
.quote-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin: 0 auto 18px;
}
.quote-src {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.quote-band .diya-mark { width: 44px; height: 44px; margin: 0 auto 34px; opacity: 0.9; }
/* light ornament for dark bands, the logo's dark lotus would vanish there */
.quote-band .sun-mark { width: 40px; height: 40px; margin: 0 auto 34px; opacity: 0.92; }

/* ---------- Feature (activity highlight) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; gap: 44px; } }

.feature-tag {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.feature-body h2, .feature-body h3 { margin-bottom: 18px; }
.feature-body p { color: var(--ink-soft); margin-bottom: 15px; }

/* fact rows under a feature */
.fact-row { display: flex; flex-wrap: wrap; gap: 34px; margin: 26px 0 30px; }
.fact-row div { min-width: 110px; }
.fact-row .k {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 3px;
}
.fact-row .v { font-family: var(--font-display); font-size: 1.06rem; }

/* ---------- Activity entries ---------- */

.activity {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.activity:first-of-type { padding-top: 12px; }
@media (max-width: 880px) { .activity { grid-template-columns: 1fr; gap: 30px; padding: 44px 0; } }

.activity-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.activity h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.activity p { color: var(--ink-soft); }
.activity p + p { margin-top: 13px; }

.gallery-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 34px; }
@media (max-width: 640px) { .gallery-strip { grid-template-columns: 1fr; } }

/* ---------- Objectives / principles list ---------- */

.objective-list { list-style: none; display: grid; gap: 16px; }
.objective-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.objective-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.objective-list .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1.6;
}
.objective-list p { color: var(--ink-soft); font-size: 0.98rem; }
.objective-list strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ (details/summary) ---------- */

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 550;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.5px;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq[open] summary .plus { transform: rotate(45deg); background: var(--gold-soft); }
.faq .faq-body { padding: 0 44px 26px 4px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--green);
  color: #fff;
  border-radius: 24px;
  padding: 78px 56px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 380px;
  background: radial-gradient(ellipse, rgba(185, 138, 47, 0.28), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 56ch; margin: 0 auto 34px; }
.cta-band .btn-secondary { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--green); border-color: #fff; }
.cta-band .btn-row { justify-content: center; }

@media (max-width: 640px) { .cta-band { padding: 52px 26px; } }

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
@media (max-width: 640px) { .form-card { padding: 28px 20px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 0.87rem; font-weight: 600; }

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 138, 47, 0.14);
}
.field textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 18px; }

/* inline confirmation after the form is submitted */
.form-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 11px;
  font-size: 0.93rem;
  line-height: 1.6;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
}
.form-status.sent {
  border-color: rgba(30, 77, 63, 0.35);
  background: rgba(30, 77, 63, 0.07);
  color: var(--green);
  font-weight: 500;
}
.form-status.failed {
  border-color: rgba(185, 138, 47, 0.5);
  background: var(--gold-faint);
  color: var(--gold-deep);
}
.form-status[hidden] { display: none; }

/* ---------- Detail lists ---------- */

.detail-list { list-style: none; display: grid; gap: 11px; }
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 11px;
  font-size: 0.95rem;
}
.detail-list li span:first-child { color: var(--ink-soft); }
.detail-list li span:last-child { font-weight: 600; text-align: right; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 0 0 36px;
  margin-top: 110px;
}

.footer-wordmark {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 64px 0 56px;
  text-align: center;
}
.footer-wordmark svg { width: 46px; height: 46px; margin: 0 auto 24px; }
.footer-wordmark h2 {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  color: #fff;
  max-width: 24ch;
  margin: 0 auto;
}
.footer-wordmark h2 em { color: #EFD9A7; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 52px 0 44px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #fff;
  display: block;
  line-height: 1.35;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 0.9rem; max-width: 38ch; }

.site-footer h4 {
  color: #EFD9A7;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .dev { font-family: var(--font-devanagari); color: #EFD9A7; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -240px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(185, 138, 47, 0.12), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: 20px; max-width: 18ch; }
@media (max-width: 640px) { .page-hero { padding: 56px 0 46px; } }

/* pages that lead straight into a form: bring it above the fold */
.page-hero.tight { padding: 70px 0 44px; }
.section.form-first { padding-top: 56px; }
@media (max-width: 640px) { .page-hero.tight { padding: 46px 0 32px; } .section.form-first { padding-top: 40px; } }

/* ---------- Story split ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 76px;
  align-items: center;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: 48px; } }

/* story section without a photo: heading in one column, prose in the other */
.story-split { grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 64px; }
.story-split .story-copy { max-width: 62ch; }
@media (max-width: 880px) { .story-split { grid-template-columns: 1fr; gap: 24px; } }

.story-grid .story-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.story-grid .story-copy p:last-of-type { margin-bottom: 0; }

.signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-deep);
  margin-top: 28px;
}

/* ---------- Trust / registration badge ---------- */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 22px 9px 12px;
  box-shadow: var(--shadow);
}
.trust-badge .seal { width: 34px; height: 34px; flex-shrink: 0; }
.trust-badge .seal svg { width: 100%; height: 100%; stroke: var(--gold-deep); }
.trust-badge .tb-text { line-height: 1.25; text-align: left; }
.trust-badge .tb-text strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.trust-badge .tb-text span { font-size: 0.73rem; letter-spacing: 0.06em; color: var(--ink-soft); }

.hero-badge { margin-top: 30px; }

/* Registration section */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) { .reg-grid { grid-template-columns: 1fr; gap: 36px; } }

.reg-card { padding: 40px; }
.reg-card .detail-list li span:last-child { font-variant-numeric: tabular-nums; }

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-deep);
}
.cert-link svg { width: 20px; height: 20px; stroke: var(--gold-deep); }
.cert-link:hover { text-decoration: none; color: var(--ink); }
.cert-link:hover svg { stroke: var(--ink); }

/* Footer registration line */
.footer-reg {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.footer-reg strong { color: rgba(255, 255, 255, 0.82); font-weight: 600; }

/* Anti-flash cloak: hide the page until Hindi is applied (removed by i18n.js).
   Only added when Hindi is the saved language, so English visitors never see it. */
html.lang-cloak body { visibility: hidden; }

/* ---------- Language toggle ---------- */

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-deep);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle:hover { background: var(--gold-soft); }

@media (max-width: 880px) {
  .site-nav .lang-toggle { margin-top: 14px; align-self: center; padding: 10px 26px; }
}

/* ---------- Devanagari watermark (inner page heroes) ---------- */

.watermark {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  font-family: var(--font-devanagari);
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
@media (max-width: 640px) { .watermark { font-size: 5.2rem; opacity: 0.07; } }

/* ---------- Founder Devanagari name ---------- */

.founder-card .dev-name {
  font-family: var(--font-devanagari);
  font-size: 1.02rem;
  color: var(--gold-deep);
  margin-top: 4px;
}

/* ---------- Hindi mode refinements ---------- */

html[lang="hi"] h1, html[lang="hi"] h2 { line-height: 1.3; letter-spacing: 0; }
html[lang="hi"] h3 { line-height: 1.45; }
html[lang="hi"] em { font-style: normal; }
html[lang="hi"] .eyebrow,
html[lang="hi"] .section-label .sec-title,
html[lang="hi"] .activity-meta,
html[lang="hi"] .fact-row .k,
html[lang="hi"] .founder-card .role,
html[lang="hi"] .feature-tag { letter-spacing: 0.06em; }
html[lang="hi"] .orbit-ring text { letter-spacing: 0.18em; font-size: 11.5px; }
html[lang="hi"] .dropcap::first-letter {
  font-size: 2.6em;
  padding: 8px 12px 0 0;
}
html[lang="hi"] .footer-wordmark h2 { line-height: 1.5; }

