/* ============================================
   UNNATI — Editorial Design System
   v2 · Bilingual · Loader-aware
   ============================================ */

:root {
  /* Palette — v1 deep-navy + cream + gold (kept) */
  --ink:        #0A0E27;
  --ink-soft:   #1A1F3A;
  --ink-deep:   #05071A;
  --paper:      #FBF8F1;
  --paper-soft: #ECE5D5;
  --cream:      #F7F3EC;

  /* Accent — gold primary, deep gold for hover, true saffron as secondary */
  --saffron:    #E8B14A;   /* (kept name; mapped to v1 gold for compatibility) */
  --saffron-dim:#C8902F;
  --gold:       #E8B14A;
  --gold-deep:  #C8902F;
  --saffron-warm:#F26C3A;  /* the actual saffron used in gradients */
  --brass:      #C8902F;
  --olive:      #4A5340;

  /* Functional */
  --line:        rgba(10, 14, 39, 0.14);
  --line-soft:   rgba(10, 14, 39, 0.06);
  --line-strong: rgba(10, 14, 39, 0.24);
  --line-light:  rgba(247, 243, 236, 0.16);
  --line-light-strong: rgba(247, 243, 236, 0.32);

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --hindi-sans: "Hind", "Noto Sans Devanagari", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max:   1440px;
  --pad-x: clamp(20px, 5.5vw, 96px);
  --nav-h: 80px;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11", "kern";
  position: relative;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--saffron); color: var(--paper); }

/* Film-grain texture — gives "printed" feel, breaks the digital flatness */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* ============================================
   Bilingual swap
   ============================================ */
[lang="en"] .lang-hi,
[lang="hi"] .lang-en { display: none !important; }

.lang-en { font-family: var(--sans); }
[lang="en"] .lang-en[data-serif] { font-family: var(--serif); }

.lang-hi { font-family: var(--hindi-sans); }
[lang="hi"] .lang-hi[data-serif] { font-family: var(--hindi); }

/* Hindi runs naturally a touch larger to balance Latin x-height */
[lang="hi"] body { font-size: 16.5px; }
[lang="hi"] .h-display,
[lang="hi"] .h-1, [lang="hi"] .h-2, [lang="hi"] .h-3 { letter-spacing: -0.01em; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.022em; line-height: 1.02; }
[lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3, [lang="hi"] h4 { font-family: var(--hindi); }

.h-display {
  font-size: clamp(48px, 9.2vw, 156px);
  line-height: 1.0;
  font-weight: 300;
  letter-spacing: -0.045em;
  padding-bottom: 0.08em; /* room for italic descenders so they don't clip */
}
.h-1 { font-size: clamp(40px, 6vw, 96px); line-height: 0.98; font-weight: 300; letter-spacing: -0.035em; }
.h-2 { font-size: clamp(32px, 4.6vw, 72px); line-height: 1.02; font-weight: 300; letter-spacing: -0.028em; }
.h-3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.18; font-weight: 400; letter-spacing: -0.015em; }
.h-4 { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.3; font-weight: 500; font-family: var(--sans); letter-spacing: -0.005em; }

.serif-italic { font-style: italic; font-weight: 300; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.6;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label--bare::before { display: none; }
.label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.78;
  max-width: 56ch;
  font-family: var(--sans);
}
[lang="hi"] .lede { font-family: var(--hindi-sans); line-height: 1.65; }

p { font-size: 16px; line-height: 1.6; }

.serif { font-family: var(--serif); }
[lang="hi"] .serif { font-family: var(--hindi); }

/* ============================================
   First-visit intro loader  (FULL WOW)
   ============================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink-deep);
  overflow: hidden;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.intro::before {
  /* Film grain on dark */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  pointer-events: none;
}
.intro::after {
  /* Warm vignette */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px circle at 50% 50%, rgba(232,177,74,0.10), transparent 70%);
  pointer-events: none;
}

/* Stage — shared centering for thesis + mark (overlap) */
.intro-stage {
  grid-column: 1; grid-row: 1;
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
}

/* Phase 1 — sequential thesis words */
.intro-thesis {
  grid-column: 1; grid-row: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  width: 100%;
}
.intro-word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 7vw, 92px);
  letter-spacing: -0.04em;
  color: var(--paper);
  opacity: 0;
  transform: translateY(20px);
  grid-column: 1; grid-row: 1;
  white-space: nowrap;
  text-align: center;
}
.intro-word.devanagari { font-family: var(--hindi); }

.intro-word.w1 { animation: introWord 0.85s var(--ease-out) 0.15s forwards; }
.intro-word.w2 { animation: introWord 0.85s var(--ease-out) 0.95s forwards; }
.intro-word.w3 { animation: introWord 0.85s var(--ease-out) 1.70s forwards; }
.intro-word.w4 { animation: introWord 0.85s var(--ease-out) 2.45s forwards; }

@keyframes introWord {
  0%   { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  20%  { opacity: 1; transform: translateY(0);  filter: blur(0); }
  78%  { opacity: 1; transform: translateY(0);  filter: blur(0); }
  100% { opacity: 0; transform: translateY(-12px); filter: blur(4px); }
}

/* Phase 2 — brand mark assembles */
.intro-mark {
  grid-column: 1; grid-row: 1;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(54px, 11vw, 152px);
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--paper);
  opacity: 0;
  animation: introMark 0.9s var(--ease-out) 3.25s forwards;
}
.intro-mark .intro-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--saffron);
  transform: scale(0);
  animation: introDot 0.6s var(--ease-out) 3.85s forwards;
}
.intro-mark .intro-hi {
  font-family: var(--hindi);
  font-size: 0.55em;
  opacity: 0;
  margin-left: 8px;
  transform: translateX(-10px);
  animation: introHi 0.7s var(--ease-out) 4.0s forwards;
  align-self: center;
  color: rgba(247,243,236,0.65);
}

@keyframes introMark { 0% { opacity: 0; letter-spacing: -0.02em; } 100% { opacity: 1; letter-spacing: -0.05em; } }
@keyframes introDot  { 0% { transform: scale(0); } 60% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes introHi   { 0% { opacity: 0; transform: translateX(-10px); } 100% { opacity: 1; transform: translateX(0); } }

/* Phase 3 — meta strip top + bottom */
.intro-meta {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.55);
  opacity: 0;
  animation: introFade 0.6s ease 4.2s forwards;
}
.intro-meta.top    { top: 32px; }
.intro-meta.bottom { bottom: 32px; }
@keyframes introFade { to { opacity: 1; } }

/* Phase 4 — line draws underneath */
.intro-line {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  width: clamp(220px, 32vw, 480px);
  height: 1px;
  background: var(--saffron);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: introLine 0.9s var(--ease-out) 0.3s forwards;
}
@keyframes introLine { to { transform: translateX(-50%) scaleX(1); } }

/* Slide up off the top — same motion as page-trans reveal */
.intro.done {
  animation: introSlideUp 0.85s cubic-bezier(0.83, 0, 0.17, 1) 4.4s forwards;
  will-change: transform;
}
@keyframes introSlideUp {
  to { transform: translateY(-100%); }
}

/* While intro is running, hold reveals invisible to prevent any flash beneath */
html.intro-active .reveal {
  opacity: 0 !important;
  transform: translateY(36px) !important;
  transition: none !important;
}

/* ============================================
   Mini page transition (non-first-visit)
   ============================================ */
.page-trans {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--ink-deep);
  transform: translateY(100%);
  pointer-events: none;
  display: grid;
  place-items: center;
}
.page-trans .page-trans-mark {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.page-trans .page-trans-mark .dot {
  width: 8px; height: 8px;
  background: var(--saffron);
  border-radius: 50%;
}

/* Cover state — slide up from bottom */
.page-trans.cover {
  animation: pageCover 0.55s var(--ease-in-out) forwards;
}
.page-trans.cover .page-trans-mark { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }

/* Reveal state — slide off the top */
.page-trans.reveal {
  transform: translateY(0);
  animation: pageReveal 0.7s var(--ease-in-out) 0.05s forwards;
}

@keyframes pageCover  { to { transform: translateY(0); } }
@keyframes pageReveal { to { transform: translateY(-100%); } }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad-x);
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.4s, color 0.4s;
  border-bottom: 1px solid transparent;
  font-family: var(--sans);
}
.nav.scrolled {
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 14px var(--pad-x);
  border-bottom-color: var(--line-soft);
}
.nav.dark { color: var(--paper); }
.nav.dark.scrolled {
  background: rgba(10, 14, 39, 0.85);
  border-bottom-color: var(--line-light);
}

/* Brand block — left */
.brand-wrap { justify-self: start; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.022em;
  position: relative;
}
.brand-dot {
  width: 6px; height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  display: inline-block;
  animation: brandPulse 2.6s ease-in-out infinite;
}
@keyframes brandPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.55; }
}
.brand-hi {
  font-family: var(--hindi);
  font-size: 14px;
  opacity: 0.55;
  margin-left: 6px;
  align-self: center;
  font-weight: 400;
}

/* Center: nav links */
.nav-center { justify-self: center; }
.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links a .n {
  font-family: var(--mono);
  font-size: 9.5px;
  opacity: 0.5;
  letter-spacing: 0.1em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--saffron); }
.nav.dark .nav-links a[aria-current="page"] { color: var(--saffron); }

/* Right: lang toggle + cta */
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  position: relative;
  user-select: none;
  opacity: 0.92;
}
.lang-toggle span {
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
  position: relative;
  z-index: 1;
  line-height: 1;
}
.lang-toggle::before {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), background 0.3s;
}
.nav.dark .lang-toggle::before { background: var(--paper); }
[lang="hi"] .lang-toggle::before { transform: translateX(100%); }

[lang="en"] .lang-toggle .lt-en { color: var(--paper); }
[lang="hi"] .lang-toggle .lt-hi { color: var(--paper); }
.nav.dark[lang="en"] .lang-toggle .lt-en,
.nav.dark[lang="hi"] .lang-toggle .lt-hi { color: var(--ink); }

html[lang="en"] .lang-toggle .lt-en,
html[lang="hi"] .lang-toggle .lt-hi { color: var(--paper); }
html[lang="en"].nav-dark .lang-toggle .lt-en,
html[lang="hi"].nav-dark .lang-toggle .lt-hi { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--mono);
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s;
  border-radius: 999px;
}
.nav.dark .nav-cta { background: var(--paper); color: var(--ink); }
.nav-cta:hover { background: var(--saffron); color: var(--paper); transform: translateY(-1px); }
.nav.dark .nav-cta:hover { background: var(--saffron); color: var(--paper); }
.nav-cta svg { transition: transform 0.3s; }
.nav-cta:hover svg { transform: translateX(3px); }

/* Mobile */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 1001;
  justify-self: end;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

@media (max-width: 920px) {
  .nav { grid-template-columns: 1fr auto auto; }
  .nav-center {
    /* Override the desktop .nav-center { justify-self: center } so the fixed
       overlay isn't sized to the inline content width (Chrome quirk) */
    justify-self: stretch;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--ink-deep);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease-in-out);
    z-index: 1100; /* Above the nav bar (1000) so it covers everything */
    pointer-events: none;
    visibility: hidden;
  }
  .nav-center.open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    gap: 32px;
    font-size: 30px;
    font-family: var(--serif);
    font-weight: 300;
  }
  .nav-links a::after { display: none; }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1200; /* Keep toggle clickable on top of the open overlay */
  }
  .nav-cta { display: none; }
  /* Stop the body from scrolling behind the open menu */
  body.nav-open { overflow: hidden; }
  /* CRITICAL: When the mobile menu is open, neutralise any property on .nav
     that would create a containing block (backdrop-filter, transform,
     will-change). Otherwise the fixed overlay gets trapped inside the small
     scrolled nav bar and the footer bleeds through on iOS Safari. */
  body.nav-open .nav,
  body.nav-open .nav.scrolled,
  body.nav-open .nav.dark,
  body.nav-open .nav.dark.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
    transform: none !important;
    will-change: auto !important;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px 16px 30px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  line-height: 1;
}
.btn svg { transition: transform 0.4s var(--ease-out); width: 14px; height: 14px; }
.btn:hover svg { transform: translateX(5px); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--saffron); }

.btn--ghost   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--light   { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--saffron); color: var(--paper); }

.btn--saffron { background: var(--saffron); color: var(--paper); }
.btn--saffron:hover { background: var(--ink); }

.btn--bare {
  background: transparent;
  border: none;
  padding: 8px 0;
  color: var(--ink);
}
.btn--bare:hover { color: var(--saffron); background: none; }

/* ============================================
   Layout primitives
   ============================================ */
section { padding: clamp(72px, 9vw, 156px) var(--pad-x); position: relative; }
.container { max-width: var(--max); margin: 0 auto; width: 100%; }
.section-dark  { background: var(--ink-deep); color: var(--paper); }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }

/* Section header treatment — chapter style */
.chapter-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(60px, 7vw, 100px);
  align-items: start;
  position: relative;
}
.chapter-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 14px;
  opacity: 0.55;
}
.chapter-title {
  display: grid;
  gap: 18px;
}
.chapter-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--saffron);
}

@media (max-width: 720px) {
  .chapter-head { grid-template-columns: 1fr; }
  .chapter-no { padding-top: 0; }
}

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.split.center { align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

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

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px circle at 86% 22%, rgba(232,177,74,0.14), transparent 55%),
    radial-gradient(800px circle at 0% 90%, rgba(200,144,47,0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Top metadata strip */
.hero-meta-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* Main composition — headline + kinetic word column */
.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
  width: 100%;
}
@media (max-width: 960px) { .hero-main { grid-template-columns: 1fr; align-items: start; } }

.hero-title { position: relative; }
.hero-title .h-display { display: block; }

.hero-aside {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: 6px;
  height: 100%;
}
.hero-aside-bottom { display: grid; gap: 36px; align-content: end; }
@media (max-width: 960px) {
  .hero-aside { padding-bottom: 0; grid-template-rows: auto auto; gap: 32px; }
  .hero-aside-bottom { align-content: start; }
}

/* Hero wordmark — sits in the top of the right column */
.hero-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  align-self: start;
  position: relative;
}
.hero-mark .mark-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: brandPulse 2.6s ease-in-out infinite;
}
.hero-mark .mark-hi {
  font-family: var(--hindi);
  font-style: normal;
  font-size: 0.34em;
  color: var(--gold-deep);
  margin-left: 2px;
  align-self: center;
  opacity: 0.85;
}

/* Bilingual kinetic word — one large italic word that cycles */
.word-cycle {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.word-cycle .wc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
}
.word-stage {
  position: relative;
  height: clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.word-stage .word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 6.2vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--gold-deep);
  opacity: 0;
  transform: translateY(110%);
  animation: wordCycle 18s linear infinite;
  white-space: nowrap;
}
.word-stage .word.devanagari { font-family: var(--hindi); font-style: normal; letter-spacing: -0.01em; }
.word-stage .word:nth-child(1) { animation-delay:  0s; }
.word-stage .word:nth-child(2) { animation-delay:  3s; }
.word-stage .word:nth-child(3) { animation-delay:  6s; }
.word-stage .word:nth-child(4) { animation-delay:  9s; }
.word-stage .word:nth-child(5) { animation-delay: 12s; }
.word-stage .word:nth-child(6) { animation-delay: 15s; }
@keyframes wordCycle {
  0%    { opacity: 0; transform: translateY(110%); }
  5%    { opacity: 1; transform: translateY(0); }
  13%   { opacity: 1; transform: translateY(0); }
  18%   { opacity: 0; transform: translateY(-110%); }
  100%  { opacity: 0; transform: translateY(-110%); }
}

/* Aside lede + buttons */
.hero-aside .lede { font-size: clamp(15px, 1.05vw, 17.5px); opacity: 0.76; max-width: 38ch; }
.hero-aside .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================
   Marquee
   ============================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--paper);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 48s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 300;
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-style: italic;
}
.marquee-item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  font-style: normal;
}
/* Marquee continues regardless of hover */
[lang="hi"] .marquee-item { font-family: var(--hindi); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================
   Pillars / categories
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
@media (max-width: 920px)  { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .pillars { grid-template-columns: 1fr; } }

.pillar {
  padding: clamp(28px, 3.5vw, 52px);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  position: relative;
  transition: background 0.4s var(--ease-out);
  cursor: pointer;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 360px;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: var(--saffron);
  transition: height 0.5s var(--ease-out);
  z-index: 0;
}
.pillar > * { position: relative; z-index: 1; }
.pillar:hover::before { height: 100%; }
.pillar:hover { color: var(--paper); }
.pillar:hover .pillar-no { color: var(--paper); opacity: 0.7; }
.pillar:hover .pillar-arrow { background: var(--paper); color: var(--saffron); border-color: var(--paper); }

.pillar-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--saffron);
  opacity: 0.85;
  text-transform: uppercase;
}
.pillar-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.028em;
}
[lang="hi"] .pillar-title { font-family: var(--hindi); }
.pillar-body { font-size: 14.5px; line-height: 1.55; opacity: 0.7; max-width: 38ch; }
.pillar-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  transition: background 0.35s, color 0.35s, transform 0.35s, border-color 0.35s;
  justify-self: start;
}
.pillar:hover .pillar-arrow { transform: rotate(-45deg); }

/* ============================================
   Stat strip — editorial style
   ============================================ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: 1fr; gap: 32px; } }

.stat-item { display: grid; gap: 8px; }
.stat-item-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.5;
}
.stat-item-val {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat-item-val .suffix { font-size: 0.5em; color: var(--saffron); }
.stat-item-desc { font-size: 13.5px; opacity: 0.65; line-height: 1.55; margin-top: 6px; max-width: 30ch; }

/* ============================================
   Mission display — verbatim quote
   ============================================ */
.verbatim {
  padding: clamp(80px, 12vw, 180px) var(--pad-x);
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.verbatim::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 50% 0%, rgba(232,177,74,0.20), transparent 55%);
  pointer-events: none;
}
.verbatim-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.verbatim-mark {
  font-family: var(--serif);
  font-size: clamp(110px, 14vw, 200px);
  font-weight: 300;
  color: var(--saffron);
  line-height: 0.7;
  opacity: 0.85;
  display: block;
  margin-bottom: 20px;
}
.verbatim-text {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
[lang="hi"] .verbatim-text { font-family: var(--hindi); line-height: 1.2; }
.verbatim-cite {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  display: flex;
  align-items: center;
  gap: 12px;
}
.verbatim-cite::before {
  content: ""; width: 32px; height: 1px;
  background: currentColor;
}

/* ============================================
   Steps / process
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

.process-step {
  background: var(--paper);
  padding: 36px 28px 36px 0;
  display: grid;
  gap: 14px;
  align-content: start;
}
.process-step:not(:first-child) { padding-left: 28px; }
.process-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--saffron);
  text-transform: uppercase;
}
.process-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
[lang="hi"] .process-title { font-family: var(--hindi); }
.process-body { font-size: 14px; opacity: 0.7; line-height: 1.55; max-width: 28ch; }

/* ============================================
   Image / media placeholders
   ============================================ */
.media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
.media--wide   { aspect-ratio: 16 / 9; }
.media--square { aspect-ratio: 1; }
.media--tall   { aspect-ratio: 3 / 4; }
.media--bleed  { aspect-ratio: auto; height: 70vh; min-height: 480px; }

.media > img,
.member-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out), filter 0.6s var(--ease-out);
}
.member:hover .member-photo > img { transform: scale(1.03); }

.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(247, 243, 236, 0.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 60px, rgba(232,177,74,0.045) 60px, rgba(232,177,74,0.045) 61px),
    linear-gradient(135deg, var(--ink-soft), var(--ink-deep));
}
.media-placeholder span {
  position: relative;
  padding: 10px 18px;
  border: 1px solid rgba(232,177,74,0.45);
  background: rgba(10,14,39,0.65);
  backdrop-filter: blur(6px);
}
.media-placeholder::after {
  content: "";
  position: absolute;
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron), transparent);
  top: calc(50% - 32px);
}

/* ============================================
   Tabs / filter row
   ============================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.tab {
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  color: var(--ink);
  opacity: 0.5;
}
.tab .count {
  font-size: 9px;
  opacity: 0.6;
  margin-left: 6px;
  letter-spacing: 0;
}
.tab.active   { opacity: 1; border-bottom-color: var(--saffron); color: var(--saffron); }
.tab:hover    { opacity: 1; }

/* Program cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 980px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }

.program-card {
  background: var(--paper);
  padding: 32px 28px;
  display: grid;
  gap: 18px;
  align-content: space-between;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.6s var(--ease-out);
}
.program-card:hover { background: var(--cream); }
.program-card:hover::after { width: 100%; }

.program-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--saffron);
}
.program-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
[lang="hi"] .program-title { font-family: var(--hindi); }
.program-desc { font-size: 13.5px; opacity: 0.68; line-height: 1.5; }
.program-link {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.program-link svg { transition: transform 0.3s; }
.program-card:hover .program-link svg { transform: translateX(4px); }

/* ============================================
   Team
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr; } }

.member { display: grid; gap: 14px; }
.member-photo {
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out);
}
.member:hover .member-photo { transform: translateY(-4px); }
.member-info { display: grid; gap: 2px; }
.member-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
[lang="hi"] .member-name { font-family: var(--hindi); }
.member-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
  margin-top: 6px;
}

/* ============================================
   Tag chip
   ============================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(232, 177, 74, 0.10);
  color: var(--saffron);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.chip-dot {
  width: 6px; height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  animation: brandPulse 2s ease-in-out infinite;
}

/* ============================================
   Contact form
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 32px; align-content: start; }
.contact-row { display: grid; gap: 6px; }
.contact-row .row-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
}
.contact-row .row-val {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.6;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.3s;
  border-radius: 0;
}
[lang="hi"] .field input,
[lang="hi"] .field textarea { font-family: var(--hindi-sans); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--saffron);
}

/* ============================================
   Page head (non-home)
   ============================================ */
.page-head {
  padding: calc(var(--nav-h) + 80px) var(--pad-x) clamp(60px, 8vw, 120px);
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 90% 100%, rgba(232,177,74,0.18), transparent 55%),
    radial-gradient(700px circle at 0% 0%, rgba(200,144,47,0.10), transparent 55%);
}
.page-head-inner {
  position: relative;
  display: grid;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 500;
}
.crumb a:hover { color: var(--saffron); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink-deep);
  color: var(--paper);
  padding: clamp(70px, 9vw, 130px) var(--pad-x) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-light);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .brand { font-size: 32px; color: var(--paper); }
.footer-tagline { opacity: 0.65; font-size: 14px; line-height: 1.55; max-width: 32ch; }
[lang="hi"] .footer-tagline { font-family: var(--hindi-sans); }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--saffron); }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.55;
  letter-spacing: 0.06em;
}

.giant-mark {
  font-family: var(--serif);
  font-size: clamp(120px, 22vw, 360px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.85;
  color: var(--paper);
  opacity: 0.06;
  pointer-events: none;
  margin-top: 60px;
  text-align: center;
  user-select: none;
}
[lang="hi"] .giant-mark { font-family: var(--hindi); letter-spacing: 0; }

/* ============================================
   Reveal-on-scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
/* Screenshot/debug helper — force all reveals visible */
html.reveal-all .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.reveal-all .gallery .gallery-cell { opacity: 1 !important; transform: none !important; transition: none !important; }
html.reveal-all .line-reveal > span { transform: none !important; transition: none !important; }
html.reveal-all .impact-cell { opacity: 1 !important; }
html.reveal-all .hero { min-height: 0 !important; }
html.reveal-all .page-head { min-height: 0 !important; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* Headline reveal — line-by-line */
.line-reveal { display: block; overflow: hidden; }
.line-reveal > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
}
.in .line-reveal > span { transform: translateY(0); }
.line-reveal-d1 > span { transition-delay: 0.1s; }
.line-reveal-d2 > span { transition-delay: 0.2s; }
.line-reveal-d3 > span { transition-delay: 0.3s; }

/* ============================================
   Divider
   ============================================ */
.divider {
  height: 1px;
  background: var(--line);
  margin: clamp(60px, 8vw, 120px) 0;
}
.section-dark .divider { background: var(--line-light); }

/* ============================================
   Impact — horizontal editorial rows
   Massive numeral on the left, key+label+note on the right
   ============================================ */
.impact-row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-cell {
  position: relative;
  display: grid;
  /* Fixed-width numeral column = consistent visual weight across rows */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px) clamp(20px, 3vw, 56px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
}
.impact-cell:last-child { border-bottom: none; }

/* Warm wash on hover — gold halo behind the numeral */
.impact-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px circle at 18% 50%, rgba(232,177,74,0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.impact-cell:hover::after { opacity: 1; }

/* The huge numeral — capped so longest (6,000+) still fits cleanly */
.impact-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 10vw, 152px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  justify-self: end;
  font-feature-settings: "lnum", "tnum";
  position: relative;
  white-space: nowrap;
  min-width: 0;
}
.impact-num .plus,
.impact-num .impact-plus {
  font-size: 0.42em;
  color: var(--gold-deep);
  font-weight: 400;
  margin-left: 8px;
  transform: translateY(-0.06em);
  opacity: 0;
  transition: opacity 0.45s ease 1.6s, transform 0.6s var(--ease-out) 1.6s;
}
.impact-cell.lit .impact-num .plus,
.impact-cell.lit .impact-num .impact-plus {
  opacity: 1;
  transform: translateY(-0.18em);
}

/* Right column — info stack */
.impact-info {
  display: grid;
  gap: 16px;
  align-content: center;
  max-width: 52ch;
  position: relative;
}
.impact-info::before {
  /* Thin gold connector line that draws in left of the info */
  content: "";
  position: absolute;
  left: clamp(-44px, -3.5vw, -32px);
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 1.2s var(--ease-out) 0.6s;
}
.impact-cell.lit .impact-info::before { width: clamp(24px, 3vw, 56px); }

.impact-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
}
.impact-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
}
[lang="hi"] .impact-label { font-family: var(--hindi); }

.impact-note {
  font-size: clamp(15px, 1.1vw, 17px);
  opacity: 0.66;
  line-height: 1.55;
  max-width: 44ch;
  margin-top: 4px;
}
[lang="hi"] .impact-note { font-family: var(--hindi-sans); }

@media (max-width: 760px) {
  .impact-cell {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
    padding: clamp(36px, 7vw, 64px) clamp(20px, 5vw, 40px);
  }
  .impact-num { justify-self: start; font-size: clamp(96px, 22vw, 168px); }
  .impact-info::before { display: none; }
}

/* ============================================
   Press — newspaper-card grid (4 articles)
   2×2 grid, each card a complete editorial spread.
   ============================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
@media (max-width: 880px) { .press-grid { grid-template-columns: 1fr; } }

.press-article {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.45s;
  text-decoration: none;
  color: inherit;
}
.press-article:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 22px 50px -24px rgba(10,14,39,0.22);
}

/* Masthead row — publication name like a newspaper banner */
.press-masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.press-pub-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.05;
  color: var(--ink);
}
.press-pub-name em {
  font-style: italic;
  color: var(--saffron-warm);
  font-weight: 400;
}
.press-masthead-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}
.press-issue {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
}
.press-pub-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.6;
}

/* Article image */
.press-article-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.press-article-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease-out);
}
.press-article:hover .press-article-img img { transform: scale(1.04); }

/* Body with headline + link */
.press-article-body {
  padding: 24px 28px 28px;
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 180px;
}
.press-article-headline {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 38ch;
  /* Clip after 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[lang="hi"] .press-article-headline { font-family: var(--hindi); }

.press-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.press-article-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
}
.press-article-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.press-article-link::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}
.press-article:hover .press-article-link::after { transform: translateX(4px); }

/* ============================================
   News / press grid
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .news-grid { grid-template-columns: 1fr; } }

.news-item {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-soft);
  overflow: hidden;
  display: block;
}
.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.news-item:hover img { transform: scale(1.04); }
.news-item-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  z-index: 1;
}

/* ============================================
   Sessions gallery — uniform fill, cascading load-in
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 14px);
  grid-auto-flow: dense;
}
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.gallery-cell {
  position: relative;
  background: var(--ink-soft);
  overflow: hidden;
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.92) translateY(34px);
  filter: blur(10px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 0.9s ease;
  will-change: opacity, transform, filter;
}
.gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}
.gallery-cell:hover img { transform: scale(1.06); }

/* Cascade — animate when the gallery itself enters viewport */
.gallery.in .gallery-cell {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}
.gallery.in .gallery-cell:nth-child(1)  { transition-delay: 0.00s; }
.gallery.in .gallery-cell:nth-child(2)  { transition-delay: 0.07s; }
.gallery.in .gallery-cell:nth-child(3)  { transition-delay: 0.14s; }
.gallery.in .gallery-cell:nth-child(4)  { transition-delay: 0.21s; }
.gallery.in .gallery-cell:nth-child(5)  { transition-delay: 0.28s; }
.gallery.in .gallery-cell:nth-child(6)  { transition-delay: 0.35s; }
.gallery.in .gallery-cell:nth-child(7)  { transition-delay: 0.42s; }
.gallery.in .gallery-cell:nth-child(8)  { transition-delay: 0.49s; }
.gallery.in .gallery-cell:nth-child(9)  { transition-delay: 0.56s; }
.gallery.in .gallery-cell:nth-child(10) { transition-delay: 0.63s; }
.gallery.in .gallery-cell:nth-child(11) { transition-delay: 0.70s; }
.gallery.in .gallery-cell:nth-child(12) { transition-delay: 0.77s; }
.gallery.in .gallery-cell:nth-child(13) { transition-delay: 0.84s; }
.gallery.in .gallery-cell:nth-child(14) { transition-delay: 0.91s; }
.gallery.in .gallery-cell:nth-child(15) { transition-delay: 0.98s; }
.gallery.in .gallery-cell:nth-child(16) { transition-delay: 1.05s; }

/* ============================================
   Recognition — Letters of recommendation
   Editorial stacked rows, alternating left/right.
   Each letter gets a full spread.
   ============================================ */
.lor-list {
  display: grid;
}

.lor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(56px, 7vw, 104px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.lor-row:first-child { padding-top: 0; }
.lor-row:last-child { border-bottom: none; padding-bottom: 0; }

/* Alternate sides on even rows */
.lor-row:nth-child(even) .lor-preview { order: 2; }
.lor-row:nth-child(even) .lor-content { order: 1; }

@media (max-width: 880px) {
  .lor-row { grid-template-columns: 1fr; gap: 36px; padding: clamp(40px, 8vw, 60px) 0; }
  .lor-row:nth-child(even) .lor-preview { order: 0; }
  .lor-row:nth-child(even) .lor-content { order: 0; }
}

/* Letter preview — large hero treatment for each */
.lor-preview {
  position: relative;
  display: block;
  aspect-ratio: 8.5 / 11;
  max-width: 540px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(10,14,39,0.04),
    0 30px 60px -30px rgba(10,14,39,0.20),
    0 12px 24px -16px rgba(10,14,39,0.10);
  transition: transform 0.7s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
  justify-self: end;
}
.lor-row:nth-child(even) .lor-preview { justify-self: start; }
@media (max-width: 880px) {
  .lor-preview { justify-self: start !important; max-width: 480px; width: 100%; }
}

.lor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease-out);
}
.lor-preview:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: var(--gold);
  box-shadow:
    0 1px 0 rgba(10,14,39,0.04),
    0 40px 80px -28px rgba(10,14,39,0.28),
    0 18px 36px -18px rgba(10,14,39,0.16);
}
.lor-preview:hover img { transform: scale(1.02); }

/* Paper-fold light over the top edge */
.lor-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,243,236,0.4) 0%, transparent 16%);
  pointer-events: none;
  z-index: 1;
}

/* Content column */
.lor-content {
  display: grid;
  gap: 18px;
  align-content: center;
  max-width: 540px;
  position: relative;
}

.lor-no {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.85;
  color: var(--gold);
  letter-spacing: -0.045em;
  margin-bottom: 6px;
  font-feature-settings: "lnum", "tnum";
}

.lor-type-big {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lor-type-big::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.lor-type-big.is-request { color: var(--saffron-warm); }
[lang="hi"] .lor-type-big { font-family: var(--hindi-sans); letter-spacing: 0.06em; }

.lor-author-big {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 2px;
}
[lang="hi"] .lor-author-big { font-family: var(--hindi); }

.lor-role-big {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.68;
  line-height: 1.5;
}
[lang="hi"] .lor-role-big {
  font-family: var(--hindi-sans);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  opacity: 0.72;
}

.lor-desc-big {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  opacity: 0.74;
  max-width: 46ch;
  margin-top: 6px;
}
[lang="hi"] .lor-desc-big { font-family: var(--hindi-sans); }

.lor-link-big {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.lor-link-big::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}
.lor-link-big::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 1px;
  background: var(--gold-deep);
  transition: width 0.4s var(--ease-out);
}
.lor-link-big:hover::before { width: 100%; }
.lor-link-big:hover::after  { transform: translateX(5px); }
[lang="hi"] .lor-link-big { font-family: var(--hindi-sans); letter-spacing: 0; text-transform: none; font-size: 14px; }

/* ============================================
   Petition — MLA letter to the PM (highlight)
   Distinctive treatment: dark ink, gold accents,
   a "pending" status stamp, single hero spread.
   ============================================ */
.petition-section {
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.petition-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px circle at 88% 22%, rgba(232,177,74,0.18), transparent 55%),
    radial-gradient(700px circle at 4% 80%, rgba(232,177,74,0.10), transparent 55%);
  pointer-events: none;
}

.petition-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}
.petition-head .chapter-no { color: rgba(247,243,236,0.55); padding-top: 6px; }
.petition-head .chapter-tag { color: var(--gold); }

@media (max-width: 720px) { .petition-head { grid-template-columns: 1fr; } }

.petition-spread {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 920px) {
  .petition-spread { grid-template-columns: 1fr; gap: 48px; }
}

/* The letter preview — bigger, more dramatic shadow on dark */
.petition-preview {
  position: relative;
  display: block;
  aspect-ratio: 8.5 / 11;
  max-width: 540px;
  background: var(--paper);
  border: 1px solid rgba(247,243,236,0.18);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(232,177,74,0.18),
    0 50px 90px -28px rgba(0,0,0,0.65),
    0 22px 40px -16px rgba(0,0,0,0.50);
  transition: transform 0.75s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
  justify-self: end;
}
@media (max-width: 920px) { .petition-preview { justify-self: start; width: 100%; } }
.petition-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease-out);
}
.petition-preview:hover {
  transform: translateY(-8px) rotate(-0.8deg);
  border-color: var(--gold);
  box-shadow:
    0 1px 0 rgba(232,177,74,0.3),
    0 60px 110px -28px rgba(0,0,0,0.70),
    0 28px 50px -18px rgba(232,177,74,0.18);
}
.petition-preview:hover img { transform: scale(1.025); }

/* "Pending" stamp absolutely positioned on the preview */
.petition-stamp {
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 22px;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
  z-index: 2;
  white-space: nowrap;
}
[lang="hi"] .petition-stamp { font-family: var(--hindi-sans); letter-spacing: 0.06em; }

.petition-content {
  display: grid;
  gap: 22px;
  align-content: center;
  max-width: 580px;
  position: relative;
}

.petition-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.petition-headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
[lang="hi"] .petition-headline { font-family: var(--hindi); line-height: 1.2; }

.petition-from-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(247,243,236,0.55);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.petition-from-label::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
[lang="hi"] .petition-from-label { font-family: var(--hindi-sans); letter-spacing: 0.06em; }

.petition-author {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-top: 2px;
}
[lang="hi"] .petition-author { font-family: var(--hindi); }

.petition-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(247,243,236,0.65);
  line-height: 1.5;
  margin-top: -8px;
}
[lang="hi"] .petition-role { font-family: var(--hindi-sans); letter-spacing: 0; text-transform: none; font-size: 13.5px; }

.petition-body {
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.65;
  color: rgba(247,243,236,0.82);
  max-width: 56ch;
  margin-top: 4px;
}
[lang="hi"] .petition-body { font-family: var(--hindi-sans); }

.petition-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  padding: 14px 20px;
  background: rgba(232,177,74,0.10);
  border: 1px solid rgba(232,177,74,0.32);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}
.petition-status .status-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: brandPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
[lang="hi"] .petition-status { font-family: var(--hindi-sans); letter-spacing: 0; text-transform: none; font-size: 13px; }

.petition-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.35s, color 0.35s, transform 0.35s;
  width: max-content;
  border-radius: 999px;
  margin-top: 6px;
}
.petition-cta:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}
.petition-cta svg { width: 14px; height: 14px; transition: transform 0.3s; }
.petition-cta:hover svg { transform: translateX(4px); }
[lang="hi"] .petition-cta { font-family: var(--hindi-sans); letter-spacing: 0; text-transform: none; font-size: 14px; }

/* ============================================
   Team top — Founders & Presidents side by side
   ============================================ */
.team-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  margin-bottom: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line-light);
}
.team-top-group { display: grid; gap: 28px; align-content: start; }
.team-top-group .chapter-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}
.team-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 880px) {
  .team-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 32px; }
}

/* ============================================
   Page head — wider variants
   ============================================ */
.page-head-wide .lede { max-width: 78ch; }

/* ============================================
   Contact-only layout (form takes center stage)
   ============================================ */
.contact-only {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  max-width: 720px;
  margin: 0 auto;
}

/* Member photo placeholder fallback — used by team grid cards without an img yet */
.member-photo.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 36px, rgba(232,177,74,0.05) 36px, rgba(232,177,74,0.05) 37px),
    linear-gradient(135deg, var(--ink-soft), var(--ink-deep));
}
.member-photo.placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 16px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.6);
}

/* ============================================
   Career Fest
   ============================================ */

/* Intro: text + featured event photo */
.cf-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px);
}
@media (max-width: 920px) {
  .cf-intro { grid-template-columns: 1fr; gap: 40px; }
}

.cf-intro-text { display: grid; gap: 22px; max-width: 58ch; }
.cf-intro-text .chapter-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}
.cf-intro-text .chapter-row .chapter-no { padding-top: 0; }

.cf-hero-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  max-width: 560px;
  width: 100%;
  justify-self: end;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(10,14,39,0.04),
    0 36px 70px -28px rgba(10,14,39,0.22),
    0 14px 30px -18px rgba(10,14,39,0.12);
  transition: transform 0.7s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
}
@media (max-width: 920px) { .cf-hero-photo { justify-self: start; } }
.cf-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.cf-hero-photo:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.cf-hero-photo:hover img { transform: scale(1.04); }
.cf-hero-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(10,14,39,0.78);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}
[lang="hi"] .cf-hero-tag { font-family: var(--hindi-sans); letter-spacing: 0.04em; text-transform: none; font-size: 11px; }

/* Speakers section */
.cf-speakers-section { padding: clamp(80px, 10vw, 140px) 0; }

.cf-speakers {
  display: grid;
  gap: 0;
}

.cf-speaker {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.cf-speaker:first-child { padding-top: 0; }
.cf-speaker:last-child { border-bottom: none; padding-bottom: 0; }

.cf-speaker--reverse .cf-speaker-photo { order: 2; }
.cf-speaker--reverse .cf-speaker-body { order: 1; }

@media (max-width: 880px) {
  .cf-speaker { grid-template-columns: 1fr; gap: 32px; padding: clamp(40px, 8vw, 60px) 0; }
  .cf-speaker--reverse .cf-speaker-photo { order: 0; }
  .cf-speaker--reverse .cf-speaker-body { order: 0; }
}

.cf-speaker-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(10,14,39,0.04),
    0 30px 60px -28px rgba(10,14,39,0.20),
    0 12px 24px -16px rgba(10,14,39,0.10);
  transition: transform 0.7s var(--ease-out), border-color 0.4s;
  justify-self: end;
}
.cf-speaker--reverse .cf-speaker-photo { justify-self: start; }
@media (max-width: 880px) {
  .cf-speaker-photo,
  .cf-speaker--reverse .cf-speaker-photo { justify-self: start; max-width: 460px; }
}
.cf-speaker-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.9s var(--ease-out);
}
.cf-speaker-photo:hover { transform: translateY(-5px); border-color: var(--gold); }
.cf-speaker-photo:hover img { transform: scale(1.04); }

.cf-speaker-photo-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(10,14,39,0.78);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
}
[lang="hi"] .cf-speaker-photo-note { font-family: var(--hindi-sans); letter-spacing: 0.04em; text-transform: none; font-size: 11px; }

.cf-speaker-body { display: grid; gap: 14px; max-width: 56ch; }

.cf-speaker-meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 4px;
}
.cf-speaker-no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--gold-deep);
}
.cf-speaker-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--saffron);
}
[lang="hi"] .cf-speaker-tag { font-family: var(--hindi-sans); letter-spacing: 0.04em; text-transform: none; font-size: 13px; }

.cf-speaker-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
[lang="hi"] .cf-speaker-name { font-family: var(--hindi-serif); letter-spacing: -0.01em; }

.cf-speaker-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
[lang="hi"] .cf-speaker-role { font-family: var(--hindi-sans); letter-spacing: 0.02em; text-transform: none; font-size: 14px; }

.cf-speaker-advice {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

/* Motion gallery section */
.cf-motion-section {
  background: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0;
}
.cf-motion { margin-top: 0; }

.cf-cell-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 28px, rgba(10,14,39,0.04) 28px, rgba(10,14,39,0.04) 29px),
    linear-gradient(135deg, rgba(232,177,74,0.06), rgba(10,14,39,0.04));
  border: 1px solid var(--line);
}
.cf-cell-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 14px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10,14,39,0.5);
}

.cf-motion-note {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-align: center;
}
.cf-motion-note a { color: var(--ink); border-bottom: 1px solid var(--gold-deep); }
.cf-motion-note a:hover { color: var(--saffron); border-bottom-color: var(--saffron); }
[lang="hi"] .cf-motion-note { font-family: var(--hindi-sans); letter-spacing: 0; font-size: 14px; }

/* Closing CTA */
.cf-cta {
  background: var(--ink-deep);
  color: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cf-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px circle at 90% 30%, rgba(232,177,74,0.18), transparent 55%),
    radial-gradient(560px circle at 5% 80%, rgba(232,177,74,0.10), transparent 55%);
  pointer-events: none;
}
.cf-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .cf-cta-inner { grid-template-columns: 1fr; align-items: start; }
}
.cf-cta-inner .h-2 { color: var(--paper); max-width: 22ch; }
.cf-cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
[lang="hi"] .cf-cta-eyebrow { font-family: var(--hindi-sans); letter-spacing: 0.04em; text-transform: none; font-size: 13px; }
.cf-cta .btn--primary { background: var(--gold); color: var(--ink); }
.cf-cta .btn--primary:hover { background: var(--paper); color: var(--ink); }

/* ============================================
   MOBILE-ONLY POLISH (≤720px)
   Goal: real phones (320–414px) work cleanly.
   Desktop is untouched — every rule below sits
   inside a max-width media query.
   ============================================ */
@media (max-width: 720px) {
  /* Grid containers that auto-size to max-content cause horizontal
     overflow when a child (e.g. a long chip, a wide image) is wider
     than the viewport. Forcing minmax(0, 1fr) caps them at viewport. */
  .page-head-inner,
  .hero-main,
  .hero-aside,
  .cf-intro,
  .cf-speaker,
  .cf-speakers,
  .lor-row,
  .lor-content,
  .petition-spread,
  .petition-content,
  .chapter-head,
  .footer-grid,
  .contact-grid,
  .cf-cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Long mono chips can be wider than a 320px screen.
     Allow them to wrap so they never push the page sideways. */
  .chip {
    white-space: normal;
    max-width: 100%;
  }

  /* Lede paragraphs already wrap, but force min-width:0 so any
     ancestor grid measurement uses available space, not content. */
  .lede, .h-1, .h-2, .h-display, .hero-title { min-width: 0; }
  .h-1, .h-2, .h-display { overflow-wrap: anywhere; }

  /* Programs page: 5 tabs stack 2-up to avoid being unreadable */
  .tabs .tab { font-size: 11px; padding: 10px 12px; }
}

/* iPhone SE / small Android (≤380px): tighten font minimums */
@media (max-width: 380px) {
  /* Headline minimums were sized for larger screens; reduce so
     a single English word fits one line on iPhone SE. */
  .h-display { font-size: clamp(34px, 11vw, 56px) !important; }
  .h-1 { font-size: clamp(34px, 10vw, 56px) !important; }
  .h-2 { font-size: clamp(26px, 8vw, 40px) !important; }

  /* Slightly tighter horizontal padding */
  :root { --pad-x: 18px; }
}

/* ============================================
   Program modal (programs.html)
   ============================================ */
.program-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s var(--ease-out);
}
.program-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.program-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 26, 0.62);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.program-modal-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(10,14,39,0.04),
    0 40px 80px -28px rgba(10,14,39,0.45),
    0 18px 36px -16px rgba(10,14,39,0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
}
.program-modal.open .program-modal-card { transform: translateY(0) scale(1); }

.program-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 18px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.program-modal-close:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(90deg);
}

.program-modal-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
[lang="hi"] .program-modal-tag {
  font-family: var(--hindi-sans);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}

.program-modal-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
}
[lang="hi"] .program-modal-title { font-family: var(--hindi-serif); letter-spacing: -0.01em; }

.program-modal-desc {
  font-size: clamp(15.5px, 1.1vw, 17.5px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.program-modal-rows {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 26px;
}
.program-modal-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: start;
}
.program-modal-row-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(10,14,39,0.5);
  padding-top: 3px;
}
[lang="hi"] .program-modal-row-label {
  font-family: var(--hindi-sans);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
}
.program-modal-row-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

.program-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px 14px 26px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.program-modal-cta:hover {
  background: var(--saffron);
  transform: translateX(2px);
}
.program-modal-cta svg { width: 14px; height: 14px; }
.program-modal-cta-host {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(10,14,39,0.55);
  margin-top: 14px;
  word-break: break-all;
}

.program-modal-foot {
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.program-modal-foot a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-deep);
}
.program-modal-foot a:hover { color: var(--saffron); border-bottom-color: var(--saffron); }

/* When the modal is open, lock body scroll */
body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .program-modal { padding: 12px; align-items: flex-end; }
  .program-modal-card {
    max-height: calc(100vh - 24px);
    width: 100%;
    max-width: none;
  }
  .program-modal-row { grid-template-columns: 1fr; gap: 6px; }
  .program-modal-row-label { padding-top: 0; }
}

/* Make the View details affordance behave like a real button trigger */
.program-card .program-link {
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .intro, .page-trans { display: none !important; }
}
