﻿@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

:root{
  /* Maitri palette (derived from the brand artwork found in Sakhi logo file) */
  --bg: #fef4f6;
  --ink: #24161b;
  --muted: #5b4550;
  --card: #ffffff;
  --line: rgba(26,22,18,.10);

  --accent: #D04070;   /* magenta */
  --accent-2: #6AA7C8; /* blue */
  --accent-3: #F0B0C0; /* blush */
  --accent-4: #E0A0B0; /* rose */

  --shadow: 0 24px 60px rgba(26,22,18,.12);
  --shadow-soft: 0 16px 40px rgba(26,22,18,.10);

  --radius: 18px;
  --radius-lg: 28px;

  --max: 1120px;
  --pad: 22px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 720px at 10% 0%, rgba(242,185,155,.20), transparent 60%),
    radial-gradient(980px 640px at 90% 10%, rgba(132,182,200,.18), transparent 55%),
    radial-gradient(1000px 820px at 50% 105%, rgba(211,121,149,.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #ffffff 100%);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.66;
}

a{ color: inherit; text-decoration: none; }
a.under{ text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Brand styling: SakhiAI (AI as superscript). */
sup.ai-sup{
  font-size: .56em;
  letter-spacing: .06em;
  vertical-align: super;
  margin-left: .06em;
  font-weight: 800;
  opacity: .92;
}

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

/* Header */
.topbar{
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(254,244,246,.72);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px var(--pad);
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.mark{
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(26,22,18,.12));
}
.brand-title{
  font-family: "Open Sans", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 750;
  font-size: 13px;
  line-height: 1.1;
}
.brand-sub{
  font-family: "Open Sans", sans-serif;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a{
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  color: rgba(36,22,27,.80);
  padding: 8px 10px;
  border-radius: 10px;
}
nav a:hover{ background: rgba(36,22,27,.06); }
nav a.active{ color: var(--ink); background: rgba(131,60,77,.12); }

.nav-cta{
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 24px rgba(26,22,18,.08);
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active{ transform: translateY(0); }
.btn.primary{
  border-color: rgba(131,60,77,.32);
  background: linear-gradient(135deg, rgba(131,60,77,.96), rgba(211,121,149,.86));
  color: #fff;
}
.btn.secondary{
  border-color: rgba(132,182,200,.44);
  background: linear-gradient(135deg, rgba(242,185,155,.92), rgba(132,182,200,.78));
  color: #1b2024;
}
.btn-outline{
  border-color: rgba(36,22,27,.35);
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover{
  border-color: rgba(36,22,27,.6);
  background: rgba(36,22,27,.08);
}
.btn.ghost{
  background: transparent;
  box-shadow: none;
}

.hamb{
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.hamb span{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(26,22,18,.78);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero{
  padding: 54px 0 18px;
}

/* Nudge-style full-bleed hero with background image */
.hero-bleed{
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 118px 0 44px;
  border-bottom: 1px solid rgba(36,22,27,.08);
  overflow: hidden;
}
.hero-bleed::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 680px at 18% 12%, rgba(224,160,176,.28), transparent 60%),
    radial-gradient(900px 620px at 85% 18%, rgba(106,167,200,.22), transparent 62%),
    radial-gradient(820px 620px at 70% 88%, rgba(240,176,192,.20), transparent 62%),
    linear-gradient(180deg, rgba(254,244,246,.76) 0%, rgba(254,244,246,.30) 30%, rgba(36,22,27,.10) 100%),
    url("../img/hero/hero-mentoring.jpg");
  background-size: auto, auto, auto, auto, 100% auto;
  /* Push the photo slightly up so faces land in the hero band. */
  /* Bias right to feature a single strong subject (Nudge-style composition). */
  background-position: center, center, center, center, 50% 40%;
  filter: saturate(1.18) contrast(1.18) brightness(1.05);
  transform: scale(1);
  z-index: 0;
  pointer-events: none;
}
.hero-bleed::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    /* Keep left edge readable while letting the photo show through. */
    linear-gradient(90deg, rgba(26,16,20,.28) 0%, rgba(26,16,20,.10) 58%, rgba(26,16,20,.02) 100%),
    radial-gradient(900px 520px at 18% 12%, rgba(208,64,112,.16), transparent 62%),
    linear-gradient(180deg, rgba(26,16,20,.24) 0%, rgba(26,16,20,.10) 58%, rgba(254,244,246,.04) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-bleed .wrap{ position: relative; z-index: 2; }
.hero-onimg{ color: #fff; }
.hero-onimg .kicker{ color: rgba(255,255,255,.82); }
.hero-onimg .lead{ color: rgba(255,255,255,.88); }

.hero-panel{
  padding: 22px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(14,8,12,.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}
.hero-panel .h1{
  font-size: clamp(32px, 4.8vw, 48px);
  line-height: 1.08;
}

.hl{
  display: inline;
}
.hl.em{
  font-style: italic;
}
.hero-onimg .btn{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}
.hero-onimg .btn.primary{
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(211,121,149,.92), rgba(131,60,77,.96));
}
.hero-onimg .btn.secondary{
  border-color: rgba(255,255,255,.20);
  background: linear-gradient(135deg, rgba(242,185,155,.92), rgba(132,182,200,.78));
  color: #1b2024;
}

.proof-card{
  background: rgba(20,12,16,.46);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
  overflow: hidden;
}
.proof-card-inner{
  padding: 18px;
  backdrop-filter: blur(10px);
}
.proof-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -.01em;
}
.proof-list{ display: grid; gap: 10px; }
.proof-item{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(36,22,27,.34);
}
.proof-item .t{
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.proof-item .d{
  font-family: "Open Sans", sans-serif;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.90);
}
.thumbs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.thumb{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(36,22,27,.22);
}
.thumb img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

/* Credibility strip + logo wall */
.cred-strip{
  margin-top: 18px;
  border: 1px solid rgba(36,22,27,.10);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.66));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.cred-inner{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  padding: 18px 18px;
  align-items: center;
}
.logo-wall{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: center;
  justify-items: center;
}
.logo-wall .logo{
  height: 34px;
  max-width: 180px;
  width: auto;
  display: block;
  opacity: .92;
  filter: saturate(0);
  transition: opacity .2s, filter .2s;
}
.logo-wall .logo:hover{
  opacity: 1;
  filter: saturate(.15);
}
.cred-strip .cap{ margin-bottom: 6px; }
.cred-strip .h2{ margin: 6px 0 8px; font-size: clamp(22px, 2.2vw, 30px); }
.cred-strip .sub{ margin: 0 0 12px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: stretch;
}
.hero-grid--solo{
  grid-template-columns: 1fr;
  /* Keep the hero panel left so the background photo remains a major visual. */
  max-width: 760px;
  margin: 0;
}
.mosaic{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
}
.mosaic-left{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.70);
  position: relative;
}
.mosaic-left img{
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}
.mosaic-left::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(242,185,155,.22), transparent 60%),
    radial-gradient(520px 300px at 100% 40%, rgba(132,182,200,.16), transparent 60%),
    linear-gradient(180deg, rgba(36,22,27,.08), transparent 45%, rgba(36,22,27,.12));
  pointer-events: none;
}
.mosaic-right{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.tile{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.72);
  position: relative;
}
.tile img{
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
}
.tile .label{
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: rgba(26,22,18,.72);
  backdrop-filter: blur(8px);
}
.chiprow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: rgba(26,22,18,.78);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
}
.chip b{ font-weight: 850; }
.sig{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(131,60,77,.14);
}
.kicker{
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  color: rgba(36,22,27,.66);
}
.h1{
  margin: 14px 0 12px;
  font-size: clamp(32px, 4.8vw, 48px);
  line-height: 1.04;
  letter-spacing: -.02em;
  font-weight: 700;
}
.lead{
  font-size: 16px;
  color: rgba(36,22,27,.86);
  margin: 14px 0 18px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.micro{
  font-family: "Open Sans", sans-serif;
  color: rgba(36,22,27,.64);
  font-size: 12px;
  margin-top: 10px;
}

.hero-card{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero-card::before{
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(500px 200px at 20% 0%, rgba(242,185,155,.26), transparent 60%),
    radial-gradient(420px 260px at 100% 20%, rgba(132,182,200,.22), transparent 60%),
    radial-gradient(500px 300px at 40% 120%, rgba(211,121,149,.18), transparent 60%);
  pointer-events: none;
}
.hero-card-inner{
  position: relative;
  padding: 18px;
}
.statrow{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.stat{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
}
.stat .n{
  font-family: "Open Sans", sans-serif;
  font-weight: 850;
  font-size: 20px;
  letter-spacing: -.02em;
}
.stat .t{
  font-family: "Open Sans", sans-serif;
  color: rgba(26,22,18,.66);
  font-size: 12px;
  margin-top: 6px;
}
.tag{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: rgba(26,22,18,.74);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(26,22,18,.22);
  background: rgba(255,255,255,.60);
}
.dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(132,182,200,.14);
}

/* Sections */
.section{
  padding: 40px 0;
}
.section + .section{
  border-top: 1px solid rgba(36,22,27,.06);
}
.section--alt{
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  padding-left: var(--pad);
  padding-right: var(--pad);
  background:
    radial-gradient(800px 400px at 30% 20%, rgba(242,185,155,.06), transparent 60%),
    radial-gradient(600px 400px at 80% 80%, rgba(132,182,200,.06), transparent 55%),
    rgba(254,244,246,.4);
  border-radius: var(--radius-lg);
}
.section-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.h2{
  margin: 0;
  font-size: clamp(30px, 3vw, 34px);
  letter-spacing: -.01em;
  font-weight: 700;
}
.sub{
  font-family: "Open Sans", sans-serif;
  color: rgba(26,22,18,.66);
  font-size: 16px;
  max-width: 70ch;
}
.grid3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* (reserved) */
.card{
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card .cap{
  font-family: "Open Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(26,22,18,.62);
}
.card h3{
  margin: 10px 0 8px;
  font-size: 18px;
}

/* Homepage: "How Maitri works" Canva tiles */
.tilegrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tilegrid .tile{
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(36,22,27,.10);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.6);
  transition: transform .25s ease, filter .25s ease;
}
.tilegrid .tile:hover{
  transform: translateY(-2px);
  filter: saturate(1.05) contrast(1.04);
}

/* Programs page: Pratham-like typography baseline. */
body.page-programs{
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #666;
}
body.page-programs .h2,
body.page-programs h3,
body.page-programs .sub,
body.page-programs .card p,
body.page-programs .chip,
body.page-programs .btn,
body.page-programs nav a,
body.page-programs .brand-title,
body.page-programs .brand-sub{
  font-family: "Open Sans", sans-serif;
}
body.page-programs .h2{
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
}
body.page-programs h3{
  font-size: 18px;
  font-weight: 600;
}
body.page-programs .sub,
body.page-programs .card p{
  font-size: 14px;
}

/* Main page typography tuned to Pratham-like scale
   (keep hero headline + hero sub-headline unchanged). */
body.page-home{
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.66;
  color: #666;
}
body.page-home .h2,
body.page-home h3,
body.page-home .sub,
body.page-home .card p,
body.page-home .chip,
body.page-home .btn,
body.page-home nav a,
body.page-home .brand-title,
body.page-home .brand-sub,
body.page-home .kicker,
body.page-home .cap,
body.page-home p{
  font-family: "Open Sans", sans-serif;
}
body.page-home .h2{
  font-size: clamp(30px, 3vw, 34px);
  line-height: 1.35;
  font-weight: 700;
}
body.page-home h3{
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}
body.page-home .sub,
body.page-home .card p,
body.page-home p{
  font-size: 16px;
  line-height: 1.66;
  font-weight: 400;
}

/* Home: What is Maitri / Vision / Mission styling */
.maitri-identity .section-head{ margin-bottom: 12px; }
.identity-panel{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.2vw, 28px);
  background:
    radial-gradient(1200px 260px at -5% -45%, rgba(208,112,149,.13), transparent 50%),
    radial-gradient(900px 220px at 105% 130%, rgba(132,182,200,.12), transparent 48%),
    linear-gradient(180deg, #fff, #fff8fb);
  box-shadow: var(--shadow-soft);
}
.identity-panel .identity-kicker{
  display: inline-block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(58,47,54,.72);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(138,108,124,.25);
  background: rgba(255,255,255,.8);
  margin-bottom: 10px;
}
.identity-panel p{
  margin: 0 0 14px;
  max-width: 980px;
  color: rgba(33,27,31,.86);
}
.vm-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.vm-card{
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 15px 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.vm-card:before{
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
}
.vm-card--vision:before{ background: var(--accent); }
.vm-card--mission:before{ background: var(--accent-2); }
.vm-label{
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(58,47,54,.68);
  font-weight: 700;
}
.vm-card p{
  margin: 8px 0 0 8px;
  color: rgba(33,27,31,.86);
  font-weight: 700;
}
@media (max-width: 820px){
  .vm-grid{ grid-template-columns: 1fr; }
}

/* How-Maitri carousel */
.how-carousel{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.55);
}
.how-track{
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.how-slide{
  min-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.how-controls{
  position: absolute;
  inset: auto 14px 14px auto;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.how-btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(17,8,12,.48);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.how-btn:hover{ background: rgba(17,8,12,.62); }

/* Homepage leadership loop carousel sizing aligned with Programs carousel */
.page-home .section .how-carousel{
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.page-home .section .how-carousel .how-slide{
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: rgba(255,255,255,.82);
}

@media (max-width: 920px){
  .tilegrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .tilegrid{ grid-template-columns: 1fr; }
  .tilegrid .tile{ aspect-ratio: 4 / 3; }
}
.card p{
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: rgba(26,22,18,.72);
  font-size: 13.5px;
  line-height: 1.55;
}

.split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: stretch;
}
.imgcard{
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.imgcard img{
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.callout{
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(131,60,77,.22);
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(242,185,155,.20), transparent 55%),
    radial-gradient(520px 260px at 100% 30%, rgba(132,182,200,.14), transparent 55%),
    rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}
.callout h3{ margin: 0 0 8px; font-size: 18px; }
.callout p{
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: rgba(36,22,27,.72);
  font-size: 13.5px;
  line-height: 1.6;
}
.callout .cta{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
footer{
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.footgrid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: start;
}
.footgrid p{
  margin: 8px 0 0;
  font-family: "Open Sans", sans-serif;
  color: rgba(26,22,18,.66);
  font-size: 12.5px;
  line-height: 1.55;
}
.footlinks{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}
.pill{
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: rgba(26,22,18,.74);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
}
.pill:hover{ background: rgba(26,22,18,.04); }

/* Inner page hero bands */
.hero-band{
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 68px 0 32px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-band::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-band .wrap{ position: relative; z-index: 1; }

.hero-band--rose::before{
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(208,64,112,.12), transparent 60%),
    radial-gradient(800px 500px at 80% 30%, rgba(240,176,192,.16), transparent 55%),
    linear-gradient(180deg, rgba(254,244,246,.95) 0%, rgba(254,244,246,.7) 100%);
}
.hero-band--blue::before{
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(106,167,200,.16), transparent 60%),
    radial-gradient(800px 500px at 80% 30%, rgba(132,182,200,.12), transparent 55%),
    linear-gradient(180deg, rgba(240,248,254,.95) 0%, rgba(254,244,246,.7) 100%);
}
.hero-band--warm::before{
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(242,185,155,.16), transparent 60%),
    radial-gradient(800px 500px at 80% 30%, rgba(224,160,176,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,250,247,.95) 0%, rgba(254,244,246,.7) 100%);
}

/* Accent card borders */
.card--accent{ border-color: rgba(208,64,112,.18); }
.card--accent-2{ border-color: rgba(106,167,200,.22); }
.card--accent-3{ border-color: rgba(240,176,192,.22); }

/* Standalone stat row */
.statrow--standalone{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.statrow--standalone .stat{
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 18px;
  text-align: center;
}
.statrow--standalone .stat .n{
  font-size: 28px;
  color: var(--accent);
}

/* Numbered step layout */
.steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  counter-reset: step;
  margin-top: 18px;
}
.step{
  position: relative;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 18px 18px;
  counter-increment: step;
}
.step::before{
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.step h3{
  margin: 0 0 6px;
  font-size: 16px;
}
.step p{
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: rgba(26,22,18,.72);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Photo testimonial cards */
.card--photo{
  text-align: center;
  padding-top: 28px;
}
.card--photo h3{ font-size: 17px; }
.card--photo .cap{ margin-bottom: 2px; }
.avatar{
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 3px solid rgba(208,64,112,.18);
  box-shadow: 0 8px 24px rgba(26,22,18,.10);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}
.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar:empty::after{
  content: attr(data-initial);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
}
.card--accent-2 .avatar{
  border-color: rgba(106,167,200,.22);
  background: linear-gradient(135deg, #5a9ab8, var(--accent-2));
}
.card--accent-3 .avatar{
  border-color: rgba(240,176,192,.26);
  background: linear-gradient(135deg, var(--accent-3), var(--accent-4));
}

/* Card with poster image at top */
.card--poster{
  padding: 0;
  overflow: hidden;
}
.card--poster .poster{
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.card--poster .card-body{
  padding: 14px 18px 18px;
}
.card--poster .cap{ margin-bottom: 2px; }
.card--poster h3{ margin: 6px 0 6px; font-size: 17px; }

/* Community photo banner */
.community-banner{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  position: relative;
}
.community-banner img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}
.community-banner .banner-label{
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(26,22,18,.62);
  backdrop-filter: blur(8px);
}

.quote-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quote-card{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.quote-card p{
  margin: 6px 0 0;
  color: rgba(33,27,31,.84);
  font-style: italic;
}

.testimonials-list{
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

/* Testimonial card pattern */
.testimonial-card{
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.testimonial-image img{
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial-quote{
  font-size: 16px;
  line-height: 1.6;
}
.testimonial-name{
  margin-top: 10px;
  font-weight: 600;
}
.testimonial-link{
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.podcast-links{
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.podcast-links h3{
  margin: 0 0 10px;
  font-size: 17px;
}
.podcast-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-link{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.pill-link:hover{
  background: #f8eef3;
}
.spotify-link::before{
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231DB954'/%3E%3Cpath d='M6.3 9.1c3.9-1.2 8.1-.8 11.5 1.2' stroke='%23000' stroke-width='1.8' stroke-linecap='round' fill='none' opacity='.8'/%3E%3Cpath d='M7 12.3c3.2-.9 6.6-.5 9.3 1.1' stroke='%23000' stroke-width='1.7' stroke-linecap='round' fill='none' opacity='.8'/%3E%3Cpath d='M7.8 15.1c2.5-.7 5.2-.4 7.3.9' stroke='%23000' stroke-width='1.6' stroke-linecap='round' fill='none' opacity='.8'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Homepage narrative restructure helpers */
.section-divider{
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(216, 76, 135, 0.55),
    rgba(240, 122, 107, 0.55),
    rgba(242, 200, 75, 0.55),
    rgba(79, 167, 181, 0.55),
    rgba(140, 122, 200, 0.55)
  );
  margin: 48px 0;
  border-radius: 999px;
}
.loop-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.loop-node{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 700;
}
.loop-arrow{
  color: rgba(36,22,27,.58);
  font-weight: 700;
}
.proof-card{
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,247,252,.82));
}

/* Impact metrics animation helpers */
.metric{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.impact-count,
.impact-suffix,
.metric-static{
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}
.metric-label{
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(26,22,18,.68);
  font-weight: 400;
}

/* Partners page rolling logos */
.partner-marquee{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 12px 0;
}
.partner-track{
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 12px;
  animation: partner-scroll 34s linear infinite;
}
.partner-item{
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}
.partner-item img{
  width: 120px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}
.partner-item span{
  font-size: 14px;
  font-weight: 600;
  color: rgba(26,22,18,.78);
}
.partner-marquee:hover .partner-track{
  animation-play-state: paused;
}
@keyframes partner-scroll{
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Recognition casebook media */
.logo-wall--recognition{
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px 18px;
}
.page-home .cred-inner{
  grid-template-columns: 1.1fr .75fr .95fr;
}
.logo-wall .logo.logo--summit{
  height: 42px;
  max-width: 160px;
  object-fit: contain;
  border-radius: 6px;
}
.page-home .logo-wall--recognition .logo{
  filter: none;
  opacity: 1;
}
.recog-media{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.recog-figure{
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}
.recog-figure img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.recog-figure figcaption{
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(26,22,18,.7);
}

/* Sakhi casebook visual alignment */
.casebook-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.casebook-card{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.casebook-card img{
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 8px;
}

/* Team grid (2x2) */
.grid4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Chart display — larger images for data viz */
.chart-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.chart-grid .imgcard img{
  max-height: none;
  height: auto;
  padding: 14px;
  object-fit: contain;
}

/* Tip list for contact page */
.tip-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.tip-list li{
  font-family: "Open Sans", sans-serif;
  font-size: 13.5px;
  color: rgba(26,22,18,.72);
  line-height: 1.55;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36,22,27,.06);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.tip-list li:last-child{ border-bottom: none; }
.tip-list .tip-icon{
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 800;
}

/* Donate highlights */
.highlight-strip{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.highlight-strip .hs-item{
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  text-align: center;
}
.highlight-strip .hs-amount{
  font-family: "Open Sans", sans-serif;
  font-weight: 850;
  font-size: 24px;
  color: var(--accent);
  letter-spacing: -.02em;
}
.highlight-strip .hs-label{
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  color: rgba(26,22,18,.66);
  margin-top: 6px;
}

/* Animations */
.reveal{
  /* Progressive enhancement: content must remain readable even if JS fails. */
  opacity: 1;
  transform: none;
}
html.js .reveal{
  /* Never hide content (readability > animation). Only apply a gentle motion. */
  opacity: 1;
  transform: translateY(10px);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
html.js .reveal.in{
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-grid--solo{ max-width: none; }
  .cred-inner{ grid-template-columns: 1fr; }
  .logo-wall{ grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; }
  .mosaic{ grid-template-columns: 1fr; }
  .mosaic-right{ grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .hero-bleed{ padding: 88px 0 28px; }
  .split{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .footgrid{ grid-template-columns: 1fr; }
  .footlinks{ justify-content: start; }
  nav{ display: none; }
  .hamb{ display: inline-flex; }
  .topbar.open nav{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 var(--pad) 12px;
  }
  .topbar.open nav a{ padding: 10px 10px; }
  .hero-band{ padding: 48px 0 24px; }
  .statrow--standalone{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .grid4{ grid-template-columns: repeat(2, 1fr); }
  .quote-grid{ grid-template-columns: 1fr 1fr; }
  .chart-grid{ grid-template-columns: 1fr; }
  .casebook-grid{ grid-template-columns: 1fr; }
  .casebook-card img{ height: 300px; }
  .section--alt{ margin-left: 0; margin-right: 0; padding-left: var(--pad); padding-right: var(--pad); border-radius: 0; }
  .community-banner img{ height: 160px; }
  .topbar:not(.open) .nav-cta{ display: none; }
  .topbar.open .topbar-inner{ flex-wrap: wrap; }
  .topbar.open .nav-cta{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 0 var(--pad) 12px;
  }
}

@media (max-width: 640px){
  .quote-grid{ grid-template-columns: 1fr; }
  .testimonial-card{
    flex-direction: column;
    text-align: center;
  }
  .loop-arrow{ display: none; }
  .hero-bleed::before{
    background-size: auto, auto, auto, auto, cover;
    background-position: center, center, center, center, 52% 42%;
  }
}





