/* ============================================================
   Tigers of Bharat — Design System
   Palette: forest #1B2B22 · paper #F3EDE1 · ochre #B8722E
            rust #7A3B2B · ink #21201C · mist #DCD4C2
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (data)
   ============================================================ */

:root {
  --forest: #2D4A38;
  --forest-dark: #1A2E22;
  --paper: #F3EDE1;
  --paper-dim: #E8E0CE;
  --ochre: #B8722E;
  --ochre-light: #D9973F;
  --rust: #7A3B2B;
  --ink: #21201C;
  --mist: #DCD4C2;
  --line: rgba(33, 32, 28, 0.14);
  --line-on-dark: rgba(243, 237, 225, 0.18);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-mono: "Inter", -apple-system, sans-serif;

  --max: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 237, 225, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}
@media (max-width: 700px) {
  .brand-tagline { display: none; }
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--rust);
  border-color: var(--ochre);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--forest);
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--rust); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line);
    color: var(--ink); font-family: var(--font-body); font-size: 12px;
    padding: 8px 12px; border-radius: 2px; cursor: pointer;
  }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--paper); padding: 20px 32px; gap: 18px; border-bottom: 1px solid var(--line);
  }
}

/* When a placeholder frame is upgraded to a real photo, this removes the
   placeholder look and makes the image fill the frame properly. */
.placeholder-fill.has-image {
  padding: 0;
  background: none;
  aspect-ratio: unset;
  height: auto;
}
.placeholder-fill.has-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 2px;
  transition: transform .15s ease, background .2s, color .2s;
}
.btn-primary { background: var(--ochre); color: var(--paper); }
.btn-primary:hover { background: var(--ochre-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border: 1px solid var(--line-on-dark); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--forest); }

/* ---------------- Hero (editorial, light, split layout) ---------------- */
.hero-editorial {
  background: var(--paper);
  padding: 76px 0 84px;
}
.hero-grid-ed {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.masthead {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 22px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.06;
  color: var(--ink);
  font-weight: 600;
}
.hero-headline .line { display: block; }
.hero-headline em { font-style: italic; font-weight: 500; color: var(--ochre); }
.hero-para {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(33,32,28,0.72);
  max-width: 46ch;
  margin-top: 28px;
}
.frame-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13.5px;
  color: rgba(33,32,28,0.6);
  margin-top: 10px;
  line-height: 1.5;
}
@media (max-width: 880px) {
  .hero-grid-ed { grid-template-columns: 1fr; }
}

/* ---------------- Hero (full-bleed image, used on inner pages if needed) ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,25,15,0.94) 0%, rgba(16,25,15,0.72) 38%, rgba(16,25,15,0.28) 70%, rgba(16,25,15,0.1) 100%);
  z-index: 1;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content { max-width: 620px; }
.hero-tagline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-light);
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin-top: 20px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 17px;
  color: var(--mist);
  max-width: 42ch;
  margin-top: 18px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .hero { min-height: 82vh; }
}

.field-slide {
  background: var(--forest-dark);
  border: 1px solid var(--line-on-dark);
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.field-slide::before, .field-slide::after,
.field-slide .tick-tl, .field-slide .tick-br { display: none; }
.field-slide .corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--ochre-light);
  border-style: solid;
  opacity: .7;
}
.field-slide .corner.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.field-slide .corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.field-slide .placeholder-fill {
  flex: 1;
  background:
    linear-gradient(160deg, #24352A 0%, #16221A 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.field-slide .placeholder-fill span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(243,237,225,0.4);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.field-slide .caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mist);
  padding: 12px 14px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
}
.field-slide .caption .tag { color: var(--ochre-light); }

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

/* ---------------- Section rhythm ---------------- */
section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: rgba(33,32,28,0.72); font-size: 16.5px; }

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

.on-dark { background: var(--forest); color: var(--paper); }
.on-dark .section-head p { color: var(--mist); }
.on-dark .eyebrow { color: var(--ochre-light); }
.on-dark .eyebrow::before { background: var(--ochre-light); }

/* ---------------- Grids / Cards ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.work-card {
  border: 1px solid var(--line);
  padding: 30px 26px;
  background: rgba(255,255,255,0.35);
  transition: border-color .2s, transform .2s;
}
.work-card:hover { border-color: var(--ochre); transform: translateY(-2px); }
.work-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: 0.1em;
}
.work-card h3 { font-size: 20px; margin-top: 14px; }
.work-card p { margin-top: 12px; font-size: 15px; color: rgba(33,32,28,0.72); }

/* Photo frame (used across Gallery / Home / Conservation) */
.frame {
  border: 1px solid var(--line);
  background: var(--paper-dim);
  position: relative;
}
.frame .placeholder-fill {
  aspect-ratio: var(--ar, 4/3);
  background:
    linear-gradient(155deg, #EDE5D3 0%, #E1D6BC 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.frame .placeholder-fill span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(33,32,28,0.45);
  text-align: center;
  line-height: 1.6;
}
.frame .corner { position: absolute; width: 14px; height: 14px; border-color: var(--ochre); border-style: solid; opacity: .8; }
.frame .corner.tl { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.frame .corner.br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.frame .caption {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  color: rgba(33,32,28,0.65);
}
.frame .caption .tag { color: var(--rust); }

/* ---------------- Stats strip ---------------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.stat {
  padding: 30px 26px;
  border-right: 1px solid var(--line-on-dark);
}
.stat:last-child { border-right: none; }
.stat .n { font-family: var(--font-mono); font-size: 30px; color: var(--ochre-light); }
.stat .l { font-size: 13px; color: var(--mist); margin-top: 8px; }
@media (max-width: 880px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-on-dark); }
}

/* ---------------- Impact in numbers ---------------- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.impact-card {
  border: 1px solid var(--line-on-dark);
  padding: 30px 20px;
  text-align: left;
  background: rgba(243,237,225,0.03);
  transition: border-color .2s, transform .2s;
}
.impact-card:hover { border-color: var(--ochre); transform: translateY(-2px); }
.impact-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--ochre-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ochre-light);
  margin-bottom: 20px;
}
.impact-icon svg { width: 20px; height: 20px; }
.impact-card .num {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--ochre-light);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.impact-card .num .prefix { font-size: 20px; }
.impact-card .label {
  font-size: 15px;
  color: var(--paper);
  margin-top: 10px;
  font-weight: 500;
}
.impact-card .desc {
  font-size: 13px;
  color: var(--mist);
  margin-top: 8px;
}
@media (max-width: 980px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* ---------------- Quote / pull ---------------- */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  max-width: 760px;
  color: var(--paper);
}
.pull-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  margin-top: 20px;
  color: var(--ochre);
}

/* ---------------- Forms ---------------- */
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(33,32,28,0.65);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus,
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}
.form-note { font-size: 13px; color: rgba(33,32,28,0.55); margin-top: 8px; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--forest);
  color: var(--paper);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin-top: 14px; color: var(--mist); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 32px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--forest-dark);
  color: var(--mist);
  padding: 60px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--mist); transition: color .2s; }
.footer-grid a:hover { color: var(--ochre-light); }
.footer-brand { font-family: var(--font-display); font-size: 22px; color: var(--paper); }
.footer-logo { height: 34px; width: auto; margin-bottom: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-family: var(--font-mono); font-size: 12px; color: rgba(243,237,225,0.5);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Page hero (inner pages, shorter) ---------------- */
.page-hero {
  background: var(--forest);
  color: var(--paper);
  padding: 68px 0 50px;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 16px; max-width: 22ch; }
.page-hero p { margin-top: 18px; color: var(--mist); max-width: 60ch; font-size: 17px; }
.page-hero .eyebrow { color: var(--ochre-light); }
.page-hero .breadcrumb { color: rgba(243,237,225,0.55); }
.page-hero .breadcrumb a { color: rgba(243,237,225,0.55); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--ochre-light); }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.page-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-top: 30px;
}
@media (max-width: 880px) {
  .page-hero-split { grid-template-columns: 1fr; }
}

/* Gallery masonry-ish grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid .frame:nth-child(3n+1) { --ar: 3/4; }
.gallery-grid .frame:nth-child(3n+2) { --ar: 4/3; }
.gallery-grid .frame:nth-child(3n+3) { --ar: 1/1; }
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.filter-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.filter-pill.active, .filter-pill:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* ---------------- Interactive reserve map ---------------- */
.map-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.map-svg-wrap {
  background: rgba(27,43,34,0.6);
  border: 1px solid var(--line-on-dark);
  padding: 20px;
}
.india-map { width: 100%; height: auto; display: block; }
.india-outline {
  fill: rgba(27, 63, 42, 0.7);
  stroke: rgba(220, 212, 194, 0.5);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.reserve-marker circle.dot {
  stroke: var(--forest-dark);
}
.reserve-marker { cursor: pointer; }
.reserve-marker circle.dot {
  fill: var(--rust);
  stroke: var(--paper-dim);
  stroke-width: 2;
  transition: fill .2s, r .2s;
}
.reserve-marker circle.pulse {
  fill: none;
  stroke: var(--rust);
  stroke-width: 1;
  opacity: 0.5;
  transform-origin: center;
  transform-box: fill-box;
  animation: mapPulse 2.4s ease-out infinite;
}
.reserve-marker:hover circle.dot,
.reserve-marker.active circle.dot {
  fill: var(--ochre);
  r: 8;
}
.reserve-marker:focus { outline: none; }
.reserve-marker:focus circle.dot { stroke: var(--ochre); stroke-width: 3; }
@keyframes mapPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reserve-marker circle.pulse { animation: none; opacity: 0.25; }
}

.map-info {
  border: 1px solid var(--line-on-dark);
  padding: 30px 28px;
  background: rgba(27,43,34,0.5);
  min-height: 220px;
}
.map-info .map-info-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ochre-light);
}
.map-info h3 { font-size: 22px; margin-top: 10px; color: var(--paper); }
.map-info p { margin-top: 14px; font-size: 15px; color: var(--mist); font-family: var(--font-body); line-height: 1.6; }
.map-info .map-info-hint { color: rgba(220,212,194,0.5); font-style: italic; font-family: var(--font-body); }

.reserve-list-mini {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  border-top: 1px solid var(--line-on-dark);
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--mist) transparent;
}
.reserve-list-mini button {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mist);
  transition: color .2s, padding-left .2s;
}
.reserve-list-mini button:hover,
.reserve-list-mini button.active {
  color: var(--ochre-light);
  padding-left: 8px;
}
.reserve-list-mini button .rs {
  color: rgba(220,212,194,0.45);
  font-size: 12px;
}

@media (max-width: 880px) {
  .map-panel { grid-template-columns: 1fr; }
}

/* ---------------- Reserve list (legacy simple list, still used as fallback) ---------------- */
.reserve-list { display: flex; flex-direction: column; }
.reserve-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.reserve-row .rn { font-family: var(--font-mono); font-size: 12px; color: var(--ochre); }
.reserve-row h4 { font-family: var(--font-body); font-weight: 600; font-size: 16px; }
.reserve-row .rs { font-family: var(--font-mono); font-size: 12px; color: rgba(33,32,28,0.55); }

/* Timeline (conservation threats) */
.threat-list { display: flex; flex-direction: column; gap: 0; }
.threat-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.threat-item h3 { font-size: 18px; }
.threat-item p { color: rgba(33,32,28,0.72); font-size: 15px; margin-top: 8px; }
@media (max-width: 700px) {
  .threat-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------- Timeline ---------------- */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--ochre);
  gap: 0;
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-on-dark);
  align-items: start;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ochre-light);
  border: 2px solid var(--forest);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ochre-light);
  padding-top: 4px;
  font-weight: 600;
}
.timeline-body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--paper);
  font-weight: 600;
}
.timeline-body p {
  color: var(--mist);
  font-size: 15.5px;
  margin-top: 8px;
  font-family: var(--font-body);
  line-height: 1.6;
}
@media (max-width: 700px) {
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline { padding-left: 20px; }
}

/* Utility */
.mt-lg { margin-top: 56px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.small-caps {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* ---------------- Status badges ---------------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  font-weight: 700;
  white-space: nowrap;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-badge.ongoing {
  background: rgba(255,255,255,0.72);
  color: #1a5232;
  border: 1.5px solid rgba(45,74,56,0.4);
  backdrop-filter: blur(4px);
}
.status-badge.ongoing::before { background: #2d8c50; }
.status-badge.upcoming {
  background: rgba(255,255,255,0.72);
  color: var(--rust);
  border: 1.5px solid rgba(184,114,46,0.45);
  backdrop-filter: blur(4px);
}
.status-badge.upcoming::before { background: var(--ochre); }
.status-badge.ideation {
  background: rgba(255,255,255,0.72);
  color: rgba(33,32,28,0.65);
  border: 1.5px solid rgba(33,32,28,0.2);
  backdrop-filter: blur(4px);
}
.status-badge.ideation::before { background: rgba(33,32,28,0.35); }
.status-badge.completed {
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  border: 1.5px solid var(--line);
  backdrop-filter: blur(4px);
}
.status-badge.completed::before { background: var(--ink); }

/* ---------------- Expandable conservation stories ---------------- */
.story-accordion { display: flex; flex-direction: column; gap: 0; }
.story-item {
  border-bottom: 1px solid var(--line);
}
.story-item:first-child { border-top: 1px solid var(--line); }
.story-toggle {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  padding: 24px 0;
  gap: 20px;
}
.story-toggle h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.story-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ochre);
  font-size: 18px;
  transition: transform .25s ease;
}
.story-item.open .story-icon { transform: rotate(45deg); }
.story-body {
  display: none;
  padding: 0 0 28px 0;
  max-width: 74ch;
}
.story-item.open .story-body { display: block; }
.story-body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(33,32,28,0.78);
}
.story-body p + p { margin-top: 14px; }

/* ---------------- Interactive reserve map ---------------- */
.map-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}
.map-wrap {
  background: rgba(243,237,225,0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: 3px;
  padding: 16px;
}
#india-map {
  width: 100%;
  height: auto;
  display: block;
  max-height: 680px;
}
.india-outline {
  fill: rgba(45,74,56,0.55);
  stroke: rgba(220,212,194,0.55);
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.reserve-marker { cursor: pointer; }
.reserve-marker .marker-dot {
  fill: var(--ochre-light);
  stroke: var(--forest-dark);
  stroke-width: 1;
  transition: r .15s ease, fill .15s ease;
}
.reserve-marker .marker-hit { fill: transparent; }
.reserve-marker:hover .marker-dot,
.reserve-marker:focus .marker-dot {
  fill: #fff;
  r: 6;
  outline: none;
}
.reserve-marker.active .marker-dot {
  fill: #fff;
  stroke: var(--ochre);
  stroke-width: 2.5;
  r: 6.5;
}
.reserve-marker:focus { outline: none; }

/* Info panel */
.reserve-info {
  background: rgba(243,237,225,0.05);
  border: 1px solid var(--line-on-dark);
  border-radius: 3px;
  padding: 26px 24px;
  min-height: 200px;
}
.ri-placeholder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  min-height: 150px;
  color: rgba(220,212,194,0.5);
}
.ri-placeholder-icon { font-size: 26px; color: var(--ochre-light); margin-bottom: 12px; opacity: 0.7; }
.ri-placeholder p { font-family: var(--font-body); font-style: italic; font-size: 15px; max-width: 30ch; }
.reserve-info .ri-state {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ochre-light);
}
.reserve-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--paper);
  margin-top: 8px;
  font-weight: 600;
  line-height: 1.2;
}
.reserve-info h3 .ri-tr { font-size: 15px; color: var(--mist); font-weight: 400; font-style: italic; font-family: var(--font-body); }
.ri-stats {
  display: flex;
  gap: 30px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.ri-stats .ri-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--ochre-light);
}
.ri-stats .ri-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(220,212,194,0.6);
  margin-top: 4px;
}
.reserve-info p {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
}

/* Reserve list */
.reserve-list-wrap { margin-top: 20px; }
.reserve-list-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220,212,194,0.55);
  margin-bottom: 10px;
}
.reserve-list {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--line-on-dark);
  border-radius: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(220,212,194,0.3) transparent;
}
.reserve-list-item {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(220,212,194,0.1);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mist);
  transition: background .15s, color .15s, padding-left .15s;
}
.reserve-list-item:last-child { border-bottom: none; }
.reserve-list-item:hover, .reserve-list-item:focus {
  background: rgba(243,237,225,0.06);
  color: var(--paper);
  padding-left: 20px;
  outline: none;
}
.reserve-list-item .rl-state {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(220,212,194,0.45);
  letter-spacing: 0.03em;
}
@media (max-width: 820px) {
  .map-layout { grid-template-columns: 1fr; gap: 24px; }
  #india-map { max-height: none; }
  .reserve-list { max-height: 220px; }
}
