:root {
  color-scheme: light;
  --navy: #213b54;
  --blue: #2e4057;
  --ink: #263745;
  --gold: #f5a900;
  --green: #328126;
  --line: #dce1e4;
  --shell: min(1160px, calc(100% - 56px));
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: white;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, summary { cursor: pointer; }
button { font: inherit; }
:focus-visible { outline: 3px solid #1775a5; outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 50; inset: 12px auto auto 12px; padding: 10px; background: white; }
h1, h2, h3, p, figure { margin: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 5px #17272a18;
}
.home .header { margin-bottom: -96px; background: rgba(255, 255, 255, .81); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: 0 0 auto; }
.brand img { height: auto; max-height: 75px; object-fit: contain; }
.header-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 43px;
  padding: 8px 20px;
  border-radius: 3px;
  color: #202a30;
  background: var(--gold);
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: #ffc34a; }
.donate { min-height: 36px; padding: 6px 22px; font-size: .9rem; text-transform: uppercase; }
.navigation { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 35px); }
.nav-group { position: relative; color: var(--blue); }
.nav-group summary { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 1.13rem; white-space: nowrap; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.nav-group[open] summary::after { transform: rotate(225deg); }
.nav-group ul {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: max(100%, 220px);
  max-width: 330px;
  list-style: none;
  padding: 7px 0;
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 6px 25px #17272a24;
}
.nav-group a { display: block; padding: 8px 14px; text-decoration: none; line-height: 1.3; }
.nav-group a:is(:hover, :focus-visible) { background: #f1f5f6; }
.menu-toggle { border: 1px solid var(--navy); background: white; border-radius: 3px; color: var(--navy); padding: 6px 10px; }

.hero { position: relative; height: 100vh; height: 100svh; min-height: 550px; background: #dde7d2; }
.slide, .slide picture, .slide picture img { width: 100%; height: 100%; }
.slide { position: relative; }
.slide picture img { object-fit: cover; object-position: center top; }
.slide-title {
  position: absolute;
  inset: 113px 12% auto;
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  line-height: 1.06;
  color: #15370f;
  text-shadow: 0 1px 12px #ffffffe0;
}
.slide-title strong { color: #407b12; }
.wetlands .slide-title, .rivers .slide-title, .archery .slide-title {
  inset: 53% auto auto 6%;
  color: white;
  text-align: left;
  text-shadow: 0 2px 8px #000e, 0 0 22px #0009;
}
.wetlands strong, .rivers strong, .archery strong { color: #ffe041; }
.archery .slide-title { inset: 53% 7% auto auto; }
.shakti .slide-title { inset: 49% auto auto 6%; color: #a22222; text-align: left; }
.shakti strong { color: #572923; }
.schools .slide-title { inset: 135px auto auto 8%; text-transform: uppercase; color: #12364d; text-align: left; }
.schools strong { color: #12364d; }
.slider-controls { position: absolute; display: flex; align-items: center; gap: 12px; bottom: 22px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 24px; background: #172727a8; }
.slide-arrow { border: 0; background: transparent; color: white; font-size: 1.65rem; line-height: 1; width: 32px; height: 32px; }
.slider-dots { display: flex; gap: 3px; }
.slider-dots button { border: 0; background: transparent; padding: 7px 4px; }
.slider-dots button::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: #fff8; }
.slider-dots button[aria-pressed="true"]::before { background: white; }
.hero-social { position: absolute; right: 13px; top: max(118px, 28%); display: grid; justify-items: end; gap: 7px; }
.hero-social > a { padding: 5px; background: white; border-radius: 4px; box-shadow: 0 1px 7px #0002; }
.hero-social .award-link { color: white; background: #348429; padding: 6px 10px; text-decoration: none; font-size: .8rem; }
.hero-social .award-link:hover { background: #28681f; }

.section { padding: clamp(34px, 5vw, 68px) 0; }
.section h2 { color: var(--navy); text-align: center; font-weight: 800; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; margin-bottom: 27px; }
.section h2 span { color: var(--green); }
.spotlight { background: #eee; }
.social-projects-logo { margin: 0 auto 24px; }
.spotlight-intro { max-width: 65ch; margin: 0 auto 20px; text-align: center; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.project {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 72px;
  color: var(--navy);
  padding: 8px;
  background: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}
.project:hover { box-shadow: 0 3px 13px #22342b24; }
.project-icon { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; background: var(--project-color); border-radius: 50%; }
.project-icon img { width: 38px; height: 38px; object-fit: contain; }
.impact-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; text-align: center; }
.impact-grid li { display: grid; justify-items: center; align-content: start; }
.impact-grid img { border-radius: 50%; object-fit: cover; border: 2px solid #5fa8ba; }
.impact-grid strong { font-size: 1.65rem; color: var(--navy); margin-top: 10px; }
.impact-grid span { max-width: 24ch; line-height: 1.32; }
.quote { background: #f1ddac url("/vvki/media/guruji-quotes-bg.jpg") center bottom / auto 100%; }
.quote-inner { display: grid; grid-template-columns: 40% 1fr; align-items: center; gap: 24px; min-height: 280px; }
.quote-inner img { align-self: end; width: 100%; max-height: 350px; object-fit: contain; object-position: bottom; }
.quote figure { padding: 25px 0; text-align: center; color: #543421; }
.quote blockquote { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.35; margin: 0 0 18px; font-style: italic; }
.quote figcaption { font-weight: 700; }
.commitments, .testimonials { background: #f3f4f4; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: 5px; background: white; overflow: hidden; border: 1px solid var(--line); }
.card a { display: block; text-decoration: none; height: 100%; }
.card a:focus-visible { outline-offset: -3px; }
.card a:hover h3 { text-decoration: underline; }
.card-media { position: relative; }
.card-media img, .album-grid img { width: 100%; height: auto; aspect-ratio: 1.74; object-fit: cover; background: #edf0f1; }
.card-caption { padding: 15px; }
.card-caption h3 { font-size: 1.09rem; line-height: 1.3; color: var(--navy); }
.card-caption p { margin-top: 9px; font-size: .94rem; }
.play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); border-radius: 50%; background: #182b3be8; color: white; width: 40px; height: 40px; display: grid; place-items: center; }
.stories, .partner-list { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; padding: 5px 2px 14px; }
.stories article { display: flex; align-items: start; flex: 0 0 clamp(250px, 44%, 415px); gap: 13px; background: white; padding: 17px; border: 1px solid var(--line); border-radius: 5px; scroll-snap-align: start; }
.stories img { border-radius: 50%; object-fit: cover; }
.stories h3 { color: var(--navy); font-size: 1rem; }
.stories p { margin-top: 7px; }
.partner-list img { flex: 0 0 135px; object-fit: contain; scroll-snap-align: start; }
.text-link { display: inline-block; color: var(--navy); margin-top: 14px; text-underline-offset: 3px; }

.page-banner { position: relative; background: #eaf0ef; padding: clamp(35px, 6vw, 74px) 0; color: var(--navy); }
.page-banner.has-image { min-height: clamp(250px, 31vw, 445px); display: grid; align-items: end; color: white; overflow: hidden; background: var(--navy); }
.page-banner > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-banner.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0b1e31de, #152e4520 85%); }
.banner-content { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; margin-bottom: 12px; font-size: .92rem; }
.breadcrumb a { text-underline-offset: 3px; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; }
.article { min-height: 300px; }
.article .intro { max-width: 68ch; color: var(--navy); font-size: clamp(1.17rem, 2vw, 1.42rem); margin-bottom: 26px; }
.article-copy { max-width: 74ch; margin-bottom: 28px; }
.article-copy h2 { text-align: left; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 7px; }
.article-copy section + section, .article-copy p + p { margin-top: 22px; }
.press-list { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.press-list li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.press-list span { font-size: .93rem; color: #415563; }
.press-list a { font-weight: 650; text-underline-offset: 3px; }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.album-grid img { border-radius: 5px; }
.video-dialog { width: min(920px, 95vw); border: 0; padding: 12px; border-radius: 6px; }
.video-dialog::backdrop { background: #081422cc; }
.video-dialog form { display: flex; justify-content: flex-end; padding-bottom: 6px; }
.video-dialog button { min-width: 36px; background: white; border: 1px solid var(--line); font-size: 1.3rem; line-height: 1.6; }
.video-frame iframe { border: 0; width: 100%; display: block; aspect-ratio: 16 / 9; }
.not-found p { margin-block: 18px; }

.footer { background: #203951; color: white; padding-top: 38px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.footer h2 { font-size: 1.06rem; color: #ffdc82; margin-bottom: 9px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 5px 0; }
.footer a { font-size: .94rem; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.email { overflow-wrap: anywhere; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: block; padding: 5px; border-radius: 3px; background: white; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding: 15px 0; border-top: 1px solid #fff4; font-size: .92rem; }
.footer-base nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .project-grid, .impact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid[data-columns="4"], .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 34px); }
  .home .header { margin-bottom: -66px; }
  .header-inner { min-height: 66px; }
  .brand img { width: 104px; max-height: 53px; }
  .header-links { flex-direction: row; align-items: center; gap: 7px; }
  .donate { padding: 5px 9px; font-size: .76rem; }
  .navigation {
    position: absolute;
    inset: 100% 0 auto;
    max-height: min(75vh, 650px);
    overflow-y: auto;
    display: block;
    padding: 6px 17px 14px;
    background: white;
    box-shadow: 0 10px 20px #0002;
  }
  .nav-group summary { padding: 10px 6px; }
  .nav-group + .nav-group { border-top: 1px solid var(--line); }
  .nav-group ul { position: static; box-shadow: none; border: 0; padding: 0 0 4px; }
  .hero { min-height: 500px; }
  .slide-title { inset: 88px 12% auto; font-size: clamp(1.7rem, 7vw, 2.75rem); }
  .wetlands .slide-title, .rivers .slide-title, .archery .slide-title, .shakti .slide-title, .schools .slide-title { inset: 26% 10% auto; text-align: center; }
  .hero-social { top: auto; bottom: 66px; right: 9px; }
  .hero-social a:not(.award-link) { display: none; }
  .card-grid, .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 500px) {
  .project-grid, .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .project { font-size: .88rem; gap: 6px; }
  .project-icon { width: 38px; height: 38px; }
  .project-icon img { width: 28px; height: 28px; }
  .impact-grid img { width: 90px; height: 90px; }
  .impact-grid strong { font-size: 1.4rem; }
  .quote-inner { grid-template-columns: 1fr; gap: 0; }
  .quote-inner img { max-height: 190px; order: 2; }
  .card-caption { padding: 10px; }
  .card-caption h3 { font-size: .98rem; }
  .press-list li { grid-template-columns: 1fr; gap: 3px; }
}

.team-directory { margin-bottom: 26px; }
.team-directory section + section { margin-top: 32px; }
.team-directory h2 { text-align: left; margin-bottom: 15px; }
.team-directory ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 13px; list-style: none; padding: 0; margin: 0; }
.team-directory li { display: flex; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 5px; }
.team-directory img { object-fit: cover; border-radius: 50%; flex: 0 0 76px; }
.team-directory h3 { font-size: 1rem; color: var(--navy); }
.team-directory p { font-size: .94rem; }
