/* ============================================
   Panai Vanam 2026 — Design System
   Clean · Authentic · Editorial NGO
   ============================================ */

:root {
  --green-deep: #1b3d2f;
  --green: #2a5340;
  --green-mid: #3a6b4f;
  --green-soft: #eef4f0;
  --orange: #b8652e;
  --orange-soft: #f6ebe3;
  --bg: #ffffff;
  --bg-warm: #f8f7f4;
  --text: #1e2a22;
  --text-muted: #5a655e;
  --border: #e4e8e5;
  --border-soft: #eef1ef;
  --white: #ffffff;
  --shadow-soft: 0 8px 30px rgba(27, 61, 47, 0.06);

  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --container: 1120px;
  --header-h: 88px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  isolation: isolate;
}

/* Global page background elements */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-bg-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(238, 244, 240, 0.9), transparent 60%),
    radial-gradient(ellipse 45% 35% at 100% 45%, rgba(246, 235, 227, 0.55), transparent 55%),
    radial-gradient(ellipse 40% 30% at 15% 85%, rgba(238, 244, 240, 0.7), transparent 50%),
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 40%, #f7f5f1 100%);
}

.bg-leaf {
  position: absolute;
  object-fit: contain;
  opacity: 0.09;
  user-select: none;
  will-change: transform;
  animation: bg-leaf-float 28s ease-in-out infinite;
  filter: saturate(0.85);
}

.bg-leaf--a { width: clamp(160px, 22vw, 280px); top: 8%; left: -4%; transform: rotate(-22deg); animation-duration: 32s; }
.bg-leaf--b { width: clamp(140px, 18vw, 240px); top: 28%; right: -3%; transform: rotate(18deg); opacity: 0.08; animation-duration: 36s; animation-delay: -6s; }
.bg-leaf--c { width: clamp(90px, 12vw, 150px); top: 48%; left: 4%; transform: rotate(40deg); opacity: 0.07; animation-duration: 26s; animation-delay: -3s; }
.bg-leaf--d { width: clamp(150px, 20vw, 260px); top: 62%; right: 2%; transform: rotate(-12deg); opacity: 0.08; animation-duration: 34s; animation-delay: -10s; }
.bg-leaf--e { width: clamp(80px, 10vw, 130px); top: 78%; left: 12%; transform: rotate(-35deg); opacity: 0.07; animation-duration: 30s; animation-delay: -8s; }
.bg-leaf--f { width: clamp(110px, 14vw, 180px); top: 88%; right: 18%; transform: rotate(25deg); opacity: 0.08; animation-duration: 38s; animation-delay: -12s; }
.bg-leaf--g { width: clamp(70px, 9vw, 120px); top: 18%; left: 38%; transform: rotate(12deg); opacity: 0.06; animation-duration: 24s; animation-delay: -2s; }
.bg-leaf--h { width: clamp(100px, 13vw, 170px); top: 55%; left: 42%; transform: rotate(-48deg); opacity: 0.06; animation-duration: 40s; animation-delay: -15s; }
.bg-leaf--i { width: clamp(90px, 11vw, 150px); top: 35%; right: 28%; transform: rotate(55deg); opacity: 0.05; animation-duration: 29s; animation-delay: -5s; }
.bg-leaf--j { width: clamp(120px, 16vw, 200px); top: 70%; left: -2%; transform: rotate(8deg); opacity: 0.07; animation-duration: 33s; animation-delay: -9s; }
.bg-leaf--k { width: clamp(110px, 15vw, 190px); top: 5%; right: 22%; transform: rotate(-28deg); opacity: 0.06; animation-duration: 27s; animation-delay: -4s; }
.bg-leaf--l { width: clamp(70px, 9vw, 120px); top: 92%; left: 48%; transform: rotate(30deg); opacity: 0.05; animation-duration: 35s; animation-delay: -11s; }

@keyframes bg-leaf-float {
  0%,
  100% { translate: 0 0; }
  50% { translate: 12px -16px; }
}

.site-header,
main,
.site-footer,
.mobile-cta,
.partner-modal {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 100;
}

.mobile-cta {
  z-index: 90;
}

.partner-modal {
  z-index: 200;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-deep);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--green-deep);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-secondary:hover {
  background: var(--green-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--green-deep);
  border-color: rgba(27, 61, 47, 0.25);
}

.btn-ghost-dark:hover {
  border-color: var(--green-deep);
  background: var(--green-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  width: min(100% - 1.75rem, 1360px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 72px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .brand-logo {
    height: 56px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
  letter-spacing: 0.03em;
}

.brand-text small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .brand-text small {
    white-space: normal;
    max-width: 9.5rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.2rem;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--green-mid);
  transition: width 0.25s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="true"] {
  color: var(--green-deep);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding-inline: 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--green-deep);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav a {
  padding: 0.85rem 0.25rem;
  font-weight: 500;
  color: var(--green-deep);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-nav .btn {
  margin-top: 0.85rem;
  width: 100%;
  border-bottom: 0;
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: rgba(27, 61, 47, 0.28);
}

.btn-outline:hover {
  border-color: var(--green-deep);
  background: var(--green-soft);
}

.btn-donate {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-donate:hover {
  background: #a45727;
  border-color: #a45727;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

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

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: stretch;
  color: var(--text);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero--cinema {
  color: #f7faf7;
  background: #102218;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: hero-zoom 40s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 16, 0.82) 0%, rgba(10, 22, 16, 0.55) 42%, rgba(10, 22, 16, 0.28) 68%, rgba(10, 22, 16, 0.18) 100%),
    linear-gradient(to top, rgba(10, 22, 16, 0.55) 0%, transparent 42%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  padding: 5.5rem 0 3.5rem;
}

.hero--cinema .hero-content {
  max-width: 40rem;
  padding: 0;
  margin: 0;
  order: 0;
  animation: hero-rise 0.9s var(--ease) both;
}

.hero--cinema .hero-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  margin: 0 0 1.15rem;
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8f0ea;
}

.hero--cinema .hero-brand-sep {
  width: 28px;
  height: 1.5px;
  background: #e0a06a;
  display: inline-block;
}

.hero--cinema h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-title-main {
  display: block;
}

.hero--cinema .hero-title-sub {
  display: block;
  color: #d8e8dc;
  font-style: italic;
  font-weight: 400;
}

.hero--cinema .hero-lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  color: #f0c29a;
  margin-bottom: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero--cinema .hero-mission-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0 0 1.2rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.hero--cinema .hero-mission-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c29a;
}

.hero--cinema .hero-mission-pill strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.hero--cinema .hero-copy {
  color: rgba(247, 250, 247, 0.9);
  max-width: 34rem;
  margin-bottom: 1.65rem;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero--cinema .btn-primary {
  background: #ffffff;
  color: var(--green-deep);
  border-color: #ffffff;
}

.hero--cinema .btn-primary:hover {
  background: #eef4f0;
  border-color: #eef4f0;
}

.hero--cinema .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero--cinema .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.hero-chips span {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f3f7f4;
}

.hero--cinema .hero-promise {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(247, 250, 247, 0.85);
  max-width: 34rem;
  line-height: 1.5;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@keyframes leaf-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 10px -14px;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Impact strip ---------- */

.impact-strip {
  background: rgba(248, 247, 244, 0.84);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.impact-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}

.impact-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.impact-stat h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.impact-year {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.impact-note {
  text-align: center;
  max-width: 40rem;
  margin: 2.25rem auto 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Living Landscapes (images 1–4) ---------- */

.landscapes {
  background: rgba(255, 255, 255, 0.72);
}

.landscape-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.landscape-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.landscape-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.landscape-copy {
  padding: 1.25rem 1.35rem 1.4rem;
}

.landscape-copy h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.landscape-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (min-width: 700px) {
  .landscape-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .landscape-card img {
    height: 260px;
  }

  .landscape-card:nth-child(4) img {
    object-position: center 25%;
  }
}

@media (min-width: 1100px) {
  .landscape-card img {
    height: 280px;
  }
}

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

.section {
  padding: 5.5rem 0;
}

.section.work,
.section.csr,
.section.evidence {
  background: rgba(255, 255, 255, 0.72);
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.section-kicker--light {
  color: #e8b38a;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-intro p {
  color: var(--text-muted);
}

/* ---------- About ---------- */

.about {
  background: rgba(255, 255, 255, 0.72);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-copy p {
  color: var(--text-muted);
}

.about-aside {
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.98rem;
}

.about-quote {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--green-soft);
  border-left: 3px solid var(--green-mid);
  border-radius: var(--radius);
}

.about-quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--green-deep);
  margin: 0;
}

.about-photos {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.about-photo {
  margin: 0;
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-photo img {
  width: 100%;
  height: 240px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.about-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.35rem 1rem 0.95rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

/* ---------- Why Palmyra ---------- */

.why {
  background: rgba(248, 247, 244, 0.8);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem 1.4rem 1.55rem;
  border-radius: var(--radius-lg);
}

.why-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  color: var(--green-mid);
  margin-bottom: 0.9rem;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Gallery / Our Work ---------- */

.work-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

.work-highlights p {
  margin: 0;
  color: var(--green-deep);
  font-size: 1rem;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 78vw);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-item {
  margin: 0;
  position: relative;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.25rem 0.9rem 0.85rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

.gallery-item--wide img {
  height: 280px;
}

/* ---------- Timeline ---------- */

.process {
  background: rgba(248, 247, 244, 0.8);
}

.timeline {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: none;
  border-left: 1px solid var(--border);
  margin-left: 0.65rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.85rem;
  padding: 0 0 1.75rem 1.1rem;
  position: relative;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 2px solid var(--bg-warm);
}

.timeline-step h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.timeline-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- Mission ---------- */

.mission {
  background: #2a3d30;
  color: #edf3ef;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(184, 101, 46, 0.12), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.mission-inner {
  position: relative;
  display: grid;
  gap: 3rem;
}

.mission h2 {
  color: var(--white);
}

.mission-lakh {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  margin: 1.25rem 0 0.2rem;
}

.mission-seeds {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #d4e0d8;
  margin-bottom: 1.4rem;
}

.mission-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #f0dcc8;
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.mission-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.mission-meta span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9b8ae;
  margin-bottom: 0.35rem;
}

.mission-meta strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
}

.mission-progress {
  display: grid;
  gap: 1.25rem;
  align-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.progress-label span {
  color: #b7c4bb;
}

.progress-label strong {
  color: var(--white);
  font-weight: 600;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8fad95, #d29a6a);
  border-radius: inherit;
  transition: width 1.2s var(--ease);
}

.mission-progress.is-inview .progress-track span {
  width: var(--w);
}

.progress-row--target .progress-track span {
  background: linear-gradient(90deg, #d29a6a, #e8c4a0);
}

/* ---------- CSR ---------- */

.csr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.csr-card {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.csr-card:hover,
.csr-card:focus-visible {
  border-color: #c5d3ca;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.csr-select {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-mid);
}

.csr-card h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.csr-seeds {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-deep);
  margin-bottom: 0.35rem;
}

.csr-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--orange);
  margin: 0;
}

.csr-card--lead {
  background: var(--green-soft);
  border-color: #c9d9cf;
}

.csr-notes {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
}

.csr-notes > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.csr-notes ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  color: var(--text);
}

.csr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Outcomes ---------- */

.outcomes {
  background: rgba(248, 247, 244, 0.8);
}

.outcomes-grid {
  display: grid;
  gap: 2.5rem;
}

.outcomes-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
}

.outcomes-col h2 {
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--green-mid);
  border-bottom: 2px solid var(--green-mid);
  transform: rotate(-45deg);
}

/* ---------- Evidence story ---------- */

.story-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 72vw);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.story-card {
  margin: 0;
  scroll-snap-align: start;
}

.story-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.story-card figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.story-card figcaption span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

/* ---------- Get Involved ---------- */

.involve-section {
  background: linear-gradient(180deg, rgba(30, 74, 48, 0.06), rgba(255, 255, 255, 0.75));
  border-top: 1px solid var(--border);
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.involve-card {
  padding: 1.5rem 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}

.involve-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.involve-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-deep);
  line-height: 1.25;
}

.involve-card p:not(.involve-label) {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
  font-size: 0.95rem;
}

.involve-card .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  .involve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 5.5rem 0;
  background: rgba(255, 255, 255, 0.75);
  border-top: 1px solid var(--border);
}

.final-cta-inner {
  max-width: 42rem;
  text-align: center;
  margin-inline: auto;
}

.final-cta p {
  color: var(--text-muted);
}

.final-statement {
  margin: 2rem 0 2rem;
  padding: 1.5rem 1rem;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
}

.final-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--green-deep);
  margin: 0.2rem 0;
  font-weight: 700;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.final-note {
  font-size: 0.9rem;
}

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

.site-footer {
  background: var(--green-deep);
  color: #d7e2db;
  padding: 3.5rem 0 7.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  width: 110px;
  height: auto;
  border-radius: 14px;
  background: var(--white);
  padding: 0.35rem;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #c5d4cb;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #eef4f0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--container));
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #a9b8ae;
  text-align: center;
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 90;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 -6px 20px rgba(27, 61, 47, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mobile-cta .btn {
  width: 100%;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 700px) {
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .csr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .gallery {
    grid-auto-columns: minmax(260px, 42vw);
  }

  .gallery-item img,
  .gallery-item--wide img {
    height: 300px;
  }

  .story-track {
    grid-auto-columns: minmax(240px, 38vw);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .header-inner {
    gap: 1.1rem;
  }

  .brand-logo {
    height: 62px;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .brand-text small {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .nav-desktop {
    gap: 0.95rem;
  }

  .nav-desktop a {
    font-size: 0.88rem;
  }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .header-actions {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-nav,
  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 3.5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6rem 0 4.5rem;
    min-height: min(86vh, 780px);
    align-items: end;
  }

  .hero--cinema .hero-content {
    max-width: 42rem;
  }

  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: start;
  }

  .about-photos {
    gap: 1.1rem;
    padding-top: 0.25rem;
  }

  .about-photo img {
    height: 250px;
  }

  .about-photo figcaption {
    font-size: 1rem;
    padding: 1.6rem 1.1rem 1.05rem;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: span 1;
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 0;
    gap: 1.75rem 1.25rem;
    margin-left: 0;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    padding: 1.15rem 1.1rem 1.2rem;
    border: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
  }

  .timeline-step::before {
    display: none;
  }

  .mission-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }

  .csr-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
    scroll-snap-type: none;
  }

  .gallery-item {
    grid-column: span 4;
  }

  .gallery-item--wide {
    grid-column: span 8;
  }

  .gallery-item img,
  .gallery-item--wide img {
    height: 260px;
  }

  .story-track {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    overflow: visible;
  }

  .story-card img {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.1fr;
    align-items: start;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-layout {
    padding: 6.5rem 0 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .csr-card:hover {
    transform: none;
  }

  .progress-track span {
    transition: none;
  }

  .hero-content,
  .hero-media img,
  .hero-leaf,
  .bg-leaf {
    animation: none !important;
  }

  .hero-media img {
    transform: scale(1.04);
  }
}

/* ---------- Partner modal ---------- */

.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.partner-modal[hidden] {
  display: none;
}

.partner-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 25, 0.55);
}

.partner-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(18, 32, 25, 0.22);
  padding: 1.6rem 1.35rem 1.5rem;
}

.partner-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-deep);
  background: var(--green-soft);
}

.partner-dialog h2 {
  margin-bottom: 0.45rem;
  padding-right: 2rem;
}

.partner-dialog > .partner-panel > p,
.partner-success > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.partner-form {
  display: grid;
  gap: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label,
.form-check label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
}

.form-row label span,
.form-check label span {
  color: var(--orange);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--bg-warm);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(58, 107, 79, 0.35);
  outline-offset: 1px;
  border-color: var(--green-mid);
  background: var(--white);
}

.form-calc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--green-mid);
  font-weight: 600;
}

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.form-check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--green-deep);
}

.form-error {
  margin: 0;
  color: #9b2c2c;
  background: #fdecec;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
}

.form-actions,
.partner-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

#reg-pdf[hidden] {
  display: none !important;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.partner-success h2 {
  color: var(--green-deep);
}

body.partner-open {
  overflow: hidden;
}

@media (min-width: 700px) {
  .partner-dialog {
    padding: 2rem 1.85rem 1.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
