/* ===================================================================
   ShikshaNova Foundation — Design System
   Palette: deep navy (trust / institutional) + antique brass-gold
   (matched to the logo) + a muted brick-red for calls to action.
   ------------------------------------------------------------------
   NOTE ON FONTS: the heading font was previously "Fraunces". Fraunces
   is a "wonky" variable font that, by design, auto-substitutes slanted/
   leaning letterforms (its own "WONK" axis) once text is above ~18px —
   this is what made letters like the "f" in "for" look crooked in
   headings. Swapped to "Playfair Display", a professional editorial
   serif with no such quirk, and kept "Work Sans" for body text.
   =================================================================== */
:root {
  --ink: #0A1B36;           /* deep navy — header, footer, dark sections */
  --ink-soft: #17376A;       /* royal navy */
  --paper: #F8F9FB;         /* page background — clean neutral */
  --paper-deep: #EEF1F6;
  --gold: #B98F3C;          /* primary accent — brass-gold, matched to the logo */
  --gold-deep: #8F6A24;
  --gold-soft: #E9D29A;
  --aqua: #E2C27A;          /* now a soft gold (used in gold gradients) */
  --sky: #2F6FD0;
  --crimson: #8F6A24;       /* eyebrow / accent text — deep brass, AA contrast on light */
  --crimson-deep: #6F5119;
  --azure: #1C54B0;         /* links */
  --text: #1B2430;
  --text-soft: #4B5766;
  --line: #DDE3EC;
  --white: #FFFFFF;

  /* legacy aliases so older inline styles keep working */
  --marigold: var(--gold);
  --brick: var(--crimson);
  --teal: var(--azure);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Work Sans", system-ui, -apple-system, sans-serif;

  --max-width: 1140px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(10,27,54,0.06), 0 4px 14px rgba(10,27,54,0.05);
  --shadow-md: 0 12px 30px rgba(10,27,54,0.10);
  --shadow-lg: 0 26px 56px rgba(10,27,54,0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azure); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson);
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block; }

p { margin: 0 0 1em; max-width: 68ch; color: var(--text-soft); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 10px 18px; font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink-soft);
  color: #D6E2F0;
  font-size: 0.88rem;
}
.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar a { color: #D6E2F0; font-weight: 500; }
.topbar a:hover { color: var(--gold); text-decoration: none; }
.topbar .btn-donate {
  background: var(--gold);
  color: var(--ink);
  padding: 5px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.topbar .btn-donate:hover { background: var(--gold-soft); color: var(--ink); transform: translateY(-1px); }
.social-icons { display: flex; gap: 10px; align-items: center; }
.social-icons a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
}
.social-icons svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 620px) { .topbar-inner { justify-content: center; gap: 12px; } }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--ink);
  color: var(--paper);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--gold);
  border-image: linear-gradient(90deg, var(--gold), var(--aqua)) 1;
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(8,18,31,0.35); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max-width); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--paper); font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(233,162,39,0.18);
}
/* .brand-text wraps "ShikshaNova Foundation" as ONE flex item.
   (Fix: previously the two coloured spans were separate direct children
   of the flex container, so the container's "gap" was inserted between
   them too — visually splitting "Shiksha" and "Nova" apart. Wrapping
   them together keeps the name joined while still letting each part
   keep its own colour.) */
.brand-text { display: inline; }
.brand-shiksha { color: var(--paper); }
.brand-nova { color: var(--gold); }
.footer-logo .brand-shiksha, .footer-logo .brand-nova { font-family: var(--font-display); }

.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--paper); font-weight: 500; font-size: 0.97rem;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  text-decoration: none; border-bottom-color: var(--gold);
}
.nav-links a:hover { opacity: 0.9; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--paper);
  color: var(--paper); border-radius: var(--radius);
  padding: 6px 10px; font-size: 1rem; cursor: pointer;
}
@media (max-width: 940px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; gap: 0;
    display: none; border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    animation: navDrop 0.2s var(--ease);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--ink-soft); }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: none; border-left: 3px solid transparent; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { border-left-color: var(--gold); background: rgba(255,255,255,0.04); }
  .nav-toggle { display: inline-block; transition: background-color 0.2s var(--ease); }
  .nav-toggle:hover { background: rgba(255,255,255,0.08); }
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .nav-links { animation: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
  border-radius: var(--radius); font-weight: 600;
  font-family: var(--font-body); font-size: 1rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--ink-soft) 0%, var(--ink) 100%); color: var(--white); box-shadow: 0 8px 20px rgba(10,27,54,0.22); }
.btn-primary:hover { background: linear-gradient(135deg, #1F4685 0%, var(--ink-soft) 100%); color: var(--white); box-shadow: 0 12px 26px rgba(10,27,54,0.30); }
.hero .btn-primary, .page-header .btn-primary, .section-ink .btn-primary { background: linear-gradient(135deg, #E6C77E 0%, var(--gold) 100%); color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,0.28); }
.hero .btn-primary:hover, .page-header .btn-primary:hover, .section-ink .btn-primary:hover { background: linear-gradient(135deg, #F0D8A0 0%, #D1A850 100%); color: var(--ink); }
.btn-gold { background: linear-gradient(135deg, #E6C77E 0%, var(--gold) 100%); color: var(--ink); box-shadow: 0 10px 24px rgba(185,143,60,0.30); }
.btn-gold:hover { background: var(--gold-deep); box-shadow: 0 14px 30px rgba(185,143,60,0.38); color: var(--white); }
.btn-outline { background: transparent; border-color: rgba(246,248,251,0.55); color: var(--paper); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--paper); }
.btn-outline-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { background: rgba(16,36,61,0.05); border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(760px 420px at 92% -8%, rgba(185,143,60,0.24), transparent 62%),
    radial-gradient(820px 460px at -8% 112%, rgba(60,105,180,0.22), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--paper); padding: 76px 0 92px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hero h1 { color: var(--paper); }
.hero p { color: #D6E2F0; }
.hero-photo {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.hero-photo figcaption {
  background: rgba(0,0,0,0.32); color: #D6E2F0;
  font-size: 0.85rem; padding: 10px 14px;
}
.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233,162,39,0.14);
  border: 1px solid rgba(233,162,39,0.55); color: var(--gold);
  padding: 7px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 20px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 940px) { .hero .container { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--paper-deep); }
.section-ink { background: linear-gradient(135deg, var(--ink) 0%, #14346A 100%); color: var(--paper); }
.section-ink h2, .section-ink h3, .section-ink h4 { color: var(--paper); }
.section-ink p { color: #D6E2F0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { margin-bottom: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C7D6E6; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.focus-card {
  border-left: 4px solid var(--gold); background: var(--white);
  padding: 22px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.focus-card:hover { transform: translateY(-3px) translateX(2px); box-shadow: var(--shadow-md); }
.focus-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.focus-card p { margin-bottom: 0; font-size: 0.96rem; }

.icon-card { text-align: left; }
.icon-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(233,162,39,0.18); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  transition: transform 0.25s var(--ease);
}
.icon-card:hover .icon-wrap { transform: scale(1.08) rotate(-4deg); }
.icon-card .icon-wrap svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) { .card:hover, .focus-card:hover, .icon-card:hover .icon-wrap { transform: none; } }

/* ---------- Coverage tabs ---------- */
.coverage-tabs { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.coverage-tab-btn {
  padding: 10px 22px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--white); color: var(--ink); font-weight: 600;
  cursor: pointer; font-family: var(--font-body); font-size: 0.95rem;
}
.coverage-tab-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.division-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 780px) { .division-grid { grid-template-columns: 1fr; } }
.division-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
}
.division-card h4 {
  font-family: var(--font-body); color: var(--azure);
  font-size: 1rem; font-weight: 700; margin-bottom: 6px;
}
.division-card p { margin-bottom: 0; font-size: 0.94rem; }
.coverage-panel { display: none; }
.coverage-panel.active { display: block; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative; margin-left: 12px;
  padding-left: 28px; border-left: 3px solid var(--gold);
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -35px; top: 4px;
  width: 14px; height: 14px; background: var(--gold);
  border-radius: 50%; border: 3px solid var(--paper);
}
.timeline-date { font-weight: 700; color: var(--crimson); display: block; margin-bottom: 4px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats > div { padding-left: 20px; border-left: 2px solid rgba(233,162,39,0.35); }
.stats > div:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); display: block; font-variant-numeric: tabular-nums; }
.stat-label { color: #D6E2F0; font-size: 0.92rem; }
.stats-note { margin-top: 26px; font-size: 0.85rem; color: #9FB4CA; }
@media (max-width: 780px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats > div:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden; background: var(--paper-deep);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-role { color: var(--crimson); font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.team-role-detail { color: var(--gold-deep); font-weight: 600; font-size: 0.85rem; margin: 2px 0 10px; letter-spacing: 0.01em; }
.team-role-detail span { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-soft); }

/* ---------- Photos ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-strip img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
@media (max-width: 780px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip figure:last-child { display: none; }
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.gallery-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item figcaption { padding: 14px 16px; font-size: 0.92rem; color: var(--text-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,18,31,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 300;
}
.lightbox.open { display: flex; }
.lightbox img {
  width: auto; max-width: min(1000px, 94vw); max-height: 82vh;
  border-radius: var(--radius); border: 2px solid var(--gold);
}
.lightbox-caption {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: #D6E2F0; font-size: 0.95rem; padding: 0 24px;
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: none;
  border: 1px solid var(--paper); color: var(--paper);
  border-radius: var(--radius); font-size: 1.4rem; line-height: 1;
  padding: 6px 12px; cursor: pointer;
}

/* ---------- Blog / stories ---------- */
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-meta { font-size: 0.85rem; color: var(--azure); font-weight: 600; }
.post-card h3 { margin-bottom: 0; }
.post-card h3 a { color: var(--ink); }

.story-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.story-initials {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-display); font-size: 2.2rem;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 560px) { .story-card { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.job-meta { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.92rem; color: var(--text-soft); }
.job-meta li strong { color: var(--ink); }
@media (max-width: 700px) { .job-card { grid-template-columns: 1fr; } }

/* ---------- Resources / documents ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.doc-list strong { color: var(--ink); }
.doc-status { font-size: 0.88rem; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; }
.faq p { margin: 12px 0 0; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.newsletter-form input {
  flex: 1 1 260px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line); font-family: var(--font-body); font-size: 1rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: 1rem; background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.info-row { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.info-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--crimson); margin-top: 3px; }
.info-row strong { display: block; color: var(--ink); margin-bottom: 2px; }
.info-row p { margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Tables ---------- */
.reg-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.reg-table th, .reg-table td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.reg-table th { width: 42%; color: var(--ink); font-weight: 600; background: var(--paper-deep); }
.reg-table tr:last-child th, .reg-table tr:last-child td { border-bottom: none; }
@media (max-width: 620px) {
  .reg-table th, .reg-table td { display: block; width: 100%; }
  .reg-table th { border-bottom: none; padding-bottom: 2px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0A1B36 0%, #07142A 100%); color: #AFC2D6; padding: 56px 0 28px;
  border-top: 3px solid var(--gold);
  border-image: linear-gradient(90deg, var(--gold), var(--aqua)) 1;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h4 { color: var(--paper); font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #AFC2D6; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-logo span { font-family: var(--font-display); color: var(--paper); font-size: 1.12rem; font-weight: 600; }
.footer-note {
  border-top: 1px solid var(--ink-soft); padding-top: 20px;
  font-size: 0.82rem; color: #8FA5BC; max-width: 90ch;
}
.footer-bottom {
  border-top: 1px solid var(--ink-soft); padding-top: 20px; margin-top: 20px;
  font-size: 0.85rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-header {
  background:
    radial-gradient(620px 300px at 95% -20%, rgba(185,143,60,0.22), transparent 62%),
    radial-gradient(640px 320px at 0% 120%, rgba(60,105,180,0.18), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--paper); padding: 56px 0; border-bottom: 3px solid var(--gold);
}
.page-header h1 { color: var(--paper); }
.page-header p { color: #D6E2F0; margin-bottom: 0; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--gold); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16,36,61,0.18);
  padding: 18px 22px; display: none;
  gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  max-width: 920px; margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 0.92rem; max-width: 62ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}


/* ===================================================================
   2026 refresh — animated hero graphic, scroll reveal, small polish
   =================================================================== */
::selection { background: rgba(185,143,60,0.35); color: var(--ink); }

/* Soft drifting light behind the hero text (decorative) */
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -140px; bottom: -220px; pointer-events: none;
  background: radial-gradient(circle, rgba(60,105,180,0.35), transparent 65%);
  filter: blur(30px); animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px,-40px) scale(1.15); } }

/* ---------- Hero graphic: emblem + six focus areas ---------- */
.hero-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin-inline: auto; }
.hero-art::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,143,60,0.30) 0%, rgba(233,210,154,0.10) 52%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,0.28); animation: orbitSpin 70s linear infinite; }
.orbit-1 { inset: 17%; }
.orbit-2 { inset: 3%; border-color: rgba(185,143,60,0.38); animation-duration: 110s; animation-direction: reverse; }
.hero-emblem {
  position: absolute; inset: 0; margin: auto; width: 33%; height: 33%;
  border-radius: 50%; overflow: hidden; border: 3px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(185,143,60,0.16), 0 26px 60px rgba(0,0,0,0.38);
  animation: emblemFloat 7s ease-in-out infinite;
}
.hero-emblem img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,0.11); border: 1px solid rgba(255,255,255,0.30);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-weight: 600; font-size: 0.86rem;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip svg { width: 18px; height: 18px; color: var(--gold-soft); flex-shrink: 0; }
.chip-1 { top: 7%;  left: 6%;   animation-delay: 0s; }
.chip-2 { top: 13%; right: 2%;  animation-delay: -1.2s; }
.chip-3 { top: 43%; left: 0;    animation-delay: -2.4s; }
.chip-4 { top: 50%; right: 0;   animation-delay: -3.6s; }
.chip-5 { bottom: 9%; left: 9%; animation-delay: -4.8s; }
.chip-6 { bottom: 4%; right: 5%; animation-delay: -1.8s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes glowPulse { 0%,100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes emblemFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 940px) { .hero-art { max-width: 430px; } }
@media (max-width: 520px) {
  .chip { padding: 7px 11px; font-size: 0.74rem; gap: 6px; }
  .chip svg { width: 15px; height: 15px; }
  .hero-emblem { width: 28%; height: 28%; }
  .chip-1 { top: 2%;  left: 3%; }
  .chip-2 { top: 13%; right: 0; }
  .chip-3 { top: 30%; left: 0; }
  .chip-4 { top: 65%; right: 0; }
  .chip-5 { top: auto; bottom: 14%; left: 0; }
  .chip-6 { bottom: 2%; right: 0; }
}

/* ---------- Scroll reveal (classes are added by js/script.js) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Photo strip: gentle zoom on hover ---------- */
.photo-strip figure { overflow: hidden; border-radius: var(--radius); }
.photo-strip img { transition: transform 0.7s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.05); }
.stat-num { background: linear-gradient(180deg, #F0D28C, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero-art::before, .orbit, .hero-emblem, .chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo-strip figure:hover img { transform: none; }
}

/* ---------- India map (Where we work) ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; margin-bottom: 36px; }
.map-canvas { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.india-map-svg { width: 100%; height: auto; max-height: 620px; display: block; }
.india-state { fill: #E3EAF3; stroke: #FFFFFF; stroke-width: 0.8; transition: fill 0.2s ease; }
.india-state.is-active { fill: #9DC0EE; cursor: pointer; stroke: var(--ink-soft); stroke-width: 1; }
.india-state.is-active:hover, .india-state.is-active:focus, .india-state.is-selected { fill: var(--ink-soft); outline: none; }
.india-marker circle { fill: var(--gold); stroke: var(--white); stroke-width: 1.2; }
.map-panel { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: 24px 28px; }
.map-panel-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 12px; }
.map-panel-list { list-style: none; margin: 0; padding: 0; }
.map-panel-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.map-panel-list li:last-child { border-bottom: 0; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 0.88rem; color: var(--text-soft); }
.map-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: #9DC0EE; }
.map-legend span.dot::before { border-radius: 50%; background: var(--gold); }
@media (max-width: 780px) { .map-wrap { grid-template-columns: 1fr; } }

/* ---------- AI Helper (chat) ---------- */
.ai-wrap { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(16,36,61,0.10); overflow: hidden; }
.ai-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--ink); color: var(--white); }
.ai-bar strong { font-family: var(--font-display); font-size: 1.05rem; }
.ai-bar button { background: transparent; border: 1px solid rgba(255,255,255,.35); color: var(--white); border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.ai-bar button:hover { background: rgba(255,255,255,.12); }
.ai-messages { height: min(48vh, 420px); overflow-y: auto; padding: 20px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.ai-msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; line-height: 1.55; word-wrap: break-word; }
.ai-msg p { margin: 0 0 8px; color: inherit; } .ai-msg p:last-child { margin-bottom: 0; }
.ai-msg ul { margin: 4px 0 8px 18px; padding: 0; }
.ai-msg code { background: rgba(16,36,61,.08); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.ai-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--text); }
.ai-user { align-self: flex-end; background: var(--ink-soft); color: #fff !important; }
.ai-user p { color: #fff !important; }
.ai-typing { color: var(--text-soft); font-style: italic; }
.ai-error { border-color: #B3402F; color: #8A2E21; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 0; background: var(--paper); }
.ai-chip { border: 1px solid var(--line); background: var(--white); color: var(--azure); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: inherit; font-size: .9rem; }
.ai-chip:hover { border-color: var(--azure); }
.ai-form { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--white); align-items: flex-end; }
.ai-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; max-height: 140px; }
.ai-form textarea:focus { outline: 2px solid var(--azure); border-color: transparent; }
.ai-note { text-align: center; font-size: .85rem; color: var(--text-soft); margin: 14px auto 0; max-width: 64ch; }
@media (max-width: 600px) { .ai-msg { max-width: 94%; } .ai-messages { height: 46vh; } }
