/* Khushi Educational And Social Trust — design system */
:root {
  --green-950: #06261c;
  --green-900: #0a3d2c;
  --green-800: #145a3f;
  --green-700: #1b6b4a;
  --green-100: #e7f2ec;
  --green-50: #f3f8f5;
  --gold: #e09b1b;
  --gold-dark: #c07f0e;
  --gold-soft: #f5e6c8;
  --cream: #f7f4ee;
  --cream-dark: #ebe6db;
  --ink: #15261e;
  --muted: #4d6358;
  --white: #ffffff;
  --line: rgba(10, 61, 44, 0.12);
  --shadow: 0 12px 40px rgba(6, 38, 28, 0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1120px;
  --header-h: 78px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 10000;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(6, 38, 28, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(220px, 48vw);
}

.brand picture,
.brand img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green-900);
  transition: transform 0.25s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > ul > li > a:not(.btn),
.site-nav .dropdown a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-900);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav > ul > li > a:not(.btn):hover,
.site-nav > ul > li > a:not(.btn):focus-visible,
.site-nav .is-active > a:not(.btn),
.site-nav .dropdown a:hover,
.site-nav .dropdown a:focus-visible {
  background: var(--green-100);
  color: var(--green-800);
  outline: none;
}

.nav-item {
  position: relative;
}

.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
}

.nav-item > button:hover,
.nav-item.is-open > button {
  background: var(--green-100);
}

.nav-item > button svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}

.nav-item.is-open > button svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 230px;
  max-height: min(70vh, 420px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 20;
}

.nav-item.is-open .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  width: 100%;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

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

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--green-900);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-800);
}

.btn-outline-green:hover {
  background: var(--green-900);
  color: var(--white);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.btn-icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.btn-donate {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  white-space: nowrap;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(224, 155, 27, 0.35);
  line-height: 1.2;
}

.btn-donate:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(192, 127, 14, 0.4);
}

.btn-donate .btn-icon {
  width: 15px;
  height: 15px;
  color: inherit;
}

.header-cta {
  flex-shrink: 0;
  margin-left: 0.35rem;
}

.header-cta.btn-donate {
  padding: 0.72rem 1.2rem;
}

.nav-donate {
  display: none;
}

.site-nav .nav-donate .btn-donate {
  width: 100%;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1a1a;
  padding: 0.85rem 1.25rem;
}

.site-nav .nav-donate .btn-donate:hover {
  background: var(--gold-dark);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 38, 28, 0.88) 0%, rgba(6, 38, 28, 0.55) 48%, rgba(6, 38, 28, 0.25) 100%),
    linear-gradient(to top, rgba(6, 38, 28, 0.75), transparent 45%);
}

.hero-content {
  padding: 5.5rem 0 3.5rem;
  max-width: 680px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-values li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-values svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-values ul {
  display: contents;
  margin: 0;
  padding: 0;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.section-head h2,
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  color: var(--green-900);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 18px rgba(6, 38, 28, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.program-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  margin-bottom: 1rem;
}

.program-icon svg {
  width: 24px;
  height: 24px;
}

.program-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--green-900);
}

.program-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.program-card .more {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.program-card .more:hover {
  text-decoration: underline;
}

/* Impact */
.impact {
  position: relative;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.impact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.impact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 38, 28, 0.94), rgba(10, 61, 44, 0.88));
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3.5rem 0;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat span {
  font-weight: 600;
  opacity: 0.92;
}

/* Story split */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.story-copy {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.story-copy h2 {
  font-family: var(--font-display);
  color: var(--green-900);
  margin: 0 0 0.85rem;
  font-size: 1.85rem;
}

.story-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.why-box {
  background: var(--green-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.why-box h3 {
  font-family: var(--font-display);
  color: var(--green-900);
  margin: 0 0 1.25rem;
  font-size: 1.55rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.why-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.why-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  color: var(--green-800);
  display: grid;
  place-items: center;
}

.why-list strong {
  display: block;
  color: var(--green-900);
  margin-bottom: 0.15rem;
}

.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Mid CTA */
.mid-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.mid-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.mid-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mid-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(6, 38, 28, 0.92), rgba(20, 90, 63, 0.85));
}

.mid-cta .inner {
  padding: 4rem 0;
}

.mid-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.mid-cta p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  opacity: 0.92;
}

.mid-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Stories / cards with images */
.stories-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stories-head .section-head {
  text-align: left;
  margin: 0;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.story-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.tag {
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--green-900);
  line-height: 1.35;
}

.story-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Partners */
.partners {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.partners-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  opacity: 0.7;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Newsletter + Footer */
.newsletter {
  background:
    radial-gradient(circle at 10% 20%, rgba(224, 155, 27, 0.15), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(231, 242, 236, 0.12), transparent 40%),
    var(--green-900);
  color: var(--white);
  padding: 2.5rem 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.newsletter h2 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}

.newsletter p {
  margin: 0;
  opacity: 0.85;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: min(100%, 420px);
}

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

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  color: var(--ink);
}

.donate-boxes {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.donate-box {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.donate-box h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--green-900);
  font-size: 1.15rem;
}

.donate-box p {
  margin: 0 0 0.55rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 240px;
  transition: border-color 0.3s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 90, 63, 0.28);
  box-shadow: 0 16px 36px rgba(6, 38, 28, 0.08);
}

.product-card .photo-tile {
  position: relative;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: 100%;
  aspect-ratio: auto;
  background: var(--green-100);
}

.product-card .photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .photo-tile img {
  transform: scale(1.05);
}

.product-zoom {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-950);
  background: rgba(247, 244, 238, 0.94);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card:hover .product-zoom,
.product-card:focus-within .product-zoom {
  opacity: 1;
  transform: translateY(0);
}

.product-card .body {
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background:
    linear-gradient(180deg, rgba(243, 248, 245, 0.65), transparent 42%),
    var(--white);
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--green-900);
  line-height: 1.25;
}

.product-meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.product-card .body > p:not(.product-meta) {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.text-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  color: var(--gold-dark);
}

.page-hero--handmade {
  background:
    linear-gradient(115deg, rgba(6, 38, 28, 0.94), rgba(20, 90, 63, 0.72)),
    url("../images/webp/ArtMasti/rectangle/1.webp") center/cover;
  padding-bottom: 3.25rem;
}

.page-hero--handmade .hero-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

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

.handmade-notice {
  background: var(--green-900);
  color: var(--white);
  padding: 0.85rem 0;
}

.handmade-notice-inner p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

.handmade-notice strong {
  color: var(--gold);
}

.handmade-why {
  background:
    radial-gradient(ellipse at top left, rgba(224, 155, 27, 0.08), transparent 50%),
    var(--cream);
}

.handmade-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.handmade-points li {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 2px solid var(--green-800);
}

.handmade-points strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
}

.handmade-points span {
  color: var(--muted);
  font-size: 0.95rem;
}

.buy-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.buy-flow li {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.buy-flow .step-num {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 0.95rem;
}

.buy-flow strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 0.25rem;
}

.buy-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.handmade-enquiry .prose {
  max-width: none;
}

.handmade-side .side-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.handmade-contact-actions {
  display: grid;
  gap: 0.55rem;
}

.handmade-contact-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.handmade-visit {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.handmade-visit h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  color: var(--green-900);
  font-size: 1rem;
}

.handmade-visit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.side-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.handmade-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.buy-steps {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.buy-steps li {
  margin-bottom: 0.65rem;
}

.buy-steps strong {
  color: var(--green-900);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 38, 28, 0.88);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.86);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 1.75rem;
}

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

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

.socials {
  display: flex;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.contact-list li {
  font-size: 0.9rem;
}

.contact-list strong {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1rem;
}

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(120deg, rgba(6, 38, 28, 0.92), rgba(20, 90, 63, 0.78)),
    url("../images/optimized/hero-alt.webp") center/cover;
  color: var(--white);
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.prose {
  max-width: 760px;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--green-900);
  margin: 1.75rem 0 0.75rem;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.side-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--green-900);
}

.side-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.side-card a {
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.92rem;
}

.side-card a:hover {
  color: var(--gold-dark);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card .body {
  padding: 1rem 0.9rem 1.2rem;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--green-900);
}

.team-card .role {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.team-card details summary {
  cursor: pointer;
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.88rem;
}

.team-card details p {
  text-align: left;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.65rem 0 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid a,
.gallery-grid .photo-tile {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.gallery-grid a:hover img,
.gallery-grid .photo-tile:hover img {
  transform: scale(1.04);
}

.program-photos {
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.92rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  background: var(--white);
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.info-card {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.info-card h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.info-card p {
  margin: 0 0 0.85rem;
  opacity: 0.9;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 2rem;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.reports-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

.report-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-900);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 108px;
}

a.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.report-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.report-card-icon svg {
  width: 24px;
  height: 24px;
}

.report-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.report-card-kind {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.report-card strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.report-card-action {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

a.report-card:hover .report-card-action {
  color: var(--green-800);
}

.report-card.is-missing {
  opacity: 0.55;
  cursor: not-allowed;
}

.report-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--green-900);
}

.report-item:hover {
  border-color: var(--gold);
}

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

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

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
  z-index: 50;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 1100px) {
  .site-nav > ul > li > a,
  .nav-item > button {
    padding: 0.5rem 0.55rem;
    font-size: 0.82rem;
  }

  .header-cta.btn-donate {
    padding: 0.65rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .programs-grid,
  .stories-grid,
  .team-grid,
  .gallery-grid,
  .reports-list,
  .reports-grid,
  .products-grid,
  .handmade-points {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card .photo-tile {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

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

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

  .story-grid,
  .content-wrap,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 0.35rem 0;
  }

  .brand {
    order: 1;
    max-width: min(180px, 55vw);
  }

  .brand img {
    height: 44px;
  }

  .header-cta {
    display: none;
  }

  .nav-donate {
    display: block;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    position: static;
    background: var(--cream);
    border-bottom: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.25s, padding 0.25s;
  }

  .site-nav.is-open {
    max-height: min(80vh, 720px);
    overflow: auto;
    opacity: 1;
    visibility: visible;
    padding: 0.5rem 0 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav > ul > li > a:not(.btn),
  .nav-item > button {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    max-height: none;
    margin: 0.15rem 0 0.35rem;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .nav-item.is-open .dropdown {
    display: block;
  }

  .hero {
    min-height: 72vh;
    align-items: center;
  }

  .hero-content {
    padding: 4rem 0 2.5rem;
    max-width: 100%;
  }

  .hero-brand {
    font-size: 1.35rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .programs-grid,
  .stories-grid,
  .team-grid,
  .gallery-grid,
  .reports-list,
  .reports-grid,
  .products-grid,
  .handmade-points,
  .buy-flow,
  .impact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stories-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-actions,
  .mid-cta .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .mid-cta .actions .btn {
    width: 100%;
  }

  .hero-values {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .page-hero {
    padding: 2.75rem 0 2rem;
  }

  .map-wrap iframe {
    height: 280px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 400px) {
  .brand {
    max-width: 140px;
  }

  .brand img {
    height: 38px;
  }

  .btn-donate {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
}
