/* Punarjanma Nepal: About us. */

/* ───── opening: the line, then the story beside one quiet quote */
.ab-top { padding: clamp(28px, 4.4vw, 64px) 0 clamp(36px, 5vw, 72px); }
.ab-h { margin: .15em 0 clamp(22px, 3vw, 40px); font-size: clamp(44px, 6.4vw, 104px); line-height: .9; color: var(--text); max-width: 11em; }
.ab-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.ab-prose { font-size: clamp(17px, 1.25vw, 20px); color: var(--text); max-width: 36em; }
.ab-prose p { margin: 0 0 1em; }
.ab-prose p:first-child { font-size: 1.18em; line-height: 1.45; }
.ab-quote { margin: 0; padding-left: clamp(18px, 2vw, 28px); border-left: 3px solid var(--yellow); font: 800 clamp(30px, 3.2vw, 52px)/1 var(--display); color: var(--text); }
.ab-quote span { display: block; color: var(--text-2); }

.ab-h2 { margin: 0 0 clamp(18px, 2.4vw, 32px); font-size: clamp(32px, 3.6vw, 56px); line-height: .95; }

/* ───── how it works: four steps on a line, ending in the product */
.ab-how { background: var(--deep); color: var(--paper); padding: clamp(48px, 6vw, 96px) 0; }
.ab-how .ab-h2 { color: var(--paper); }
.ab-steps { --g: clamp(16px, 2.4vw, 40px); list-style: none; counter-reset: ab; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); position: relative; }
.ab-steps::before { content: ""; position: absolute; left: 36px; right: calc((100% - 3 * var(--g)) / 4 - 36px); top: 36px; border-top: 2px dashed rgba(247,245,240,.22); }
.ab-steps li { counter-increment: ab; position: relative; display: grid; gap: 8px; align-content: start; }
.ab-steps svg { width: 72px; height: 72px; padding: 16px; border-radius: 50%; background: var(--deep); box-shadow: 0 0 0 2px rgba(247,245,240,.3); fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.ab-steps b { display: flex; gap: .4em; align-items: baseline; font: 800 clamp(24px, 2vw, 32px)/1 var(--display); }
.ab-steps b::before { content: counter(ab); opacity: .45; }
.ab-steps span { color: rgba(247,245,240,.75); max-width: 22em; }
.ab-step-last svg { background: var(--yellow); stroke: var(--deep); box-shadow: 0 0 0 6px rgba(224,174,54,.18); }
.ab-step-last b { color: var(--yellow); }

/* ───── why it matters: short points, then the pictures */
.ab-why { padding: clamp(48px, 6vw, 96px) 0 clamp(36px, 5vw, 72px); }
.ab-why-head { max-width: 46em; }
.ab-why-lead { margin: -6px 0 clamp(22px, 3vw, 36px); font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); max-width: 34em; }
.ab-facts { list-style: none; margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.ab-facts li { display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 2px solid var(--text); }
.ab-facts b { font: 800 clamp(24px, 2.2vw, 34px)/1 var(--display); color: var(--text); }
.ab-facts span { color: var(--text-2); font-size: .94em; }

      
  

/* ───── jobs: three steps of growth, each taller than the last */
.ab-jobs { padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }
.ab-jobs-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.ab-jobs-copy .ab-why-lead { margin-bottom: clamp(20px, 2.4vw, 28px); }
.ab-climb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: end; height: clamp(300px, 30vw, 420px); }
.ab-climb li { display: grid; grid-template-rows: 1fr auto auto; height: 100%; }
.ab-bar { align-self: end; height: var(--h); min-height: 112px; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: clamp(14px, 1.6vw, 22px); border-radius: 16px 16px 4px 4px; background: var(--c); color: var(--paper); transform-origin: 50% 100%; }
.ab-climb li:nth-child(1) { --c: var(--red); } .ab-climb li:nth-child(2) { --c: var(--blue); } .ab-climb li:nth-child(3) { --c: var(--ink); }
.ab-bar b { font: 800 clamp(38px, 4vw, 64px)/.9 var(--display); }
.ab-bar span { font-size: .9em; opacity: .8; }
.ab-climb .rv { opacity: 1; transform: none; }
.ab-climb .rv .ab-bar { transform: scaleY(.15); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .4s; transition-delay: inherit; }
.ab-climb .rv.in .ab-bar { transform: none; opacity: 1; }
.ab-yr-k { margin: 12px 0 2px; font-weight: 700; color: var(--text); }
.ab-yr-t { margin: 0; color: var(--text-2); font-size: .92em; }

.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-weight: 700; font-size: .78em; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 12px; height: 10px; background: var(--c, var(--teal)); clip-path: polygon(12% 0, 100% 20%, 84% 100%, 0 70%); }
/* ───── the founders: as on the first site */
.team-head { text-align: center; max-width: 40em; margin: 0 auto clamp(22px, 3.4vh, 40px); display: grid; justify-items: center; }
.team-head h2 { margin-bottom: .2em; }
.team-head .lead { margin: 0 auto; font-size: clamp(17px, 1.2vw, 20px); }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 540px)); justify-content: center; gap: clamp(16px, 2.4vw, 32px); }
.founder { --c: var(--blue); position: relative; display: flex; gap: clamp(16px, 1.8vw, 24px); align-items: center; background: var(--white); border-radius: clamp(20px, 2vw, 28px); padding: clamp(16px, 1.6vw, 22px); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.founder:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(14,51,38,.45); }
.f-photo { position: relative; flex: none; width: clamp(140px, 13vw, 190px); aspect-ratio: 4 / 5; }
.f-photo picture, .f-photo img { display: block; width: 100%; height: 100%; }
.f-photo img { position: relative; z-index: 1; object-fit: cover; border-radius: clamp(14px, 1.4vw, 18px); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.founder:hover .f-photo img { transform: rotate(-1.5deg); }
.f-chip { position: absolute; z-index: 0; right: -10px; bottom: -10px; width: 52%; aspect-ratio: 1 / .86; background: var(--c); clip-path: polygon(12% 4%, 92% 0, 100% 62%, 80% 100%, 6% 92%, 0 34%); transition: transform .7s cubic-bezier(.2,.9,.3,1.4); }
.founder:hover .f-chip { transform: rotate(12deg) translate(3px, 3px); }
.f-body { min-width: 0; flex: 1; display: grid; justify-items: start; }
.f-role { margin: 0 0 2px; font-weight: 700; font-size: .74em; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.f-name { margin: 0 0 10px; font-size: clamp(26px, 2.2vw, 34px); }
.f-creds { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.f-creds li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: .84em; font-weight: 600; }
.f-creds li::before { content: ""; width: 8px; height: 7px; flex: none; background: var(--c); clip-path: polygon(12% 0, 100% 20%, 84% 100%, 0 70%); }
.f-contact { display: grid; gap: 5px; width: 100%; }
.f-contact a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; border: 2px solid var(--line); text-decoration: none; font-weight: 600; font-size: .86em; transition: border-color .2s, background .2s, color .2s; min-width: 0; }
.f-contact a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-contact a:hover { border-color: var(--c); background: var(--c); color: var(--paper); }
.f-contact svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) { .founders { grid-template-columns: minmax(0, 540px); } .team-sec { min-height: 0; } }
/* both cards line up: name at the top, contact buttons at the bottom */
.founder { align-items: stretch; }
.f-body { display: flex; flex-direction: column; align-items: flex-start; padding: 4px 0; }
.f-contact { margin-top: auto; }
@media (max-width: 480px) {
  .founder { gap: 14px; padding: 14px; }
  .f-photo { width: 104px; align-self: flex-start; }
  .f-chip { right: -6px; bottom: -6px; }
  .f-name { font-size: 25px; margin-bottom: 8px; }
  .f-creds { margin-bottom: 10px; } .f-creds li { font-size: .78em; padding: 3px 8px; }
  .f-contact a { font-size: .8em; padding: 6px 8px; }
}
@media (max-width: 480px) {
  .team-sec { padding: 22px 0 26px; }
  .team-head { margin-bottom: 16px; }
  .team-head .eyebrow { margin-bottom: 8px; }
  .team-head h2 { font-size: 38px; }
  .team-head .lead { font-size: 15px; line-height: 1.45; }
  .founders { gap: 12px; }
}
@media (max-width: 480px) {
  .f-photo { width: 92px; }
  .founder { gap: 12px; }
  .f-contact a { gap: 6px; padding: 6px 8px; font-size: .78em; }
  .f-contact a span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  .f-contact svg { width: 14px; height: 14px; }
}

/* ───────── questions and answers (About) */
.team-sec { padding: clamp(48px, 6vw, 96px) 0; background: var(--paper); }
.team-head h2 { font-size: clamp(36px, 4.2vw, 64px); color: var(--text); }
.team-head .lead { color: var(--text-2); }

@media (max-width: 1000px) {
  .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ab-steps::before { display: none; }
  .ab-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .ab-jobs-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .ab-story { grid-template-columns: minmax(0, 1fr); }
  
  
}
@media (max-width: 520px) { .ab-steps { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ab-climb .rv .ab-bar { opacity: 1; transform: none; transition: none; } }
@media (max-width: 520px) { .ab-climb { height: 300px; } .ab-bar { min-height: 92px; } .ab-yr-t { font-size: .84em; } }

/* founder cards, calmer: the credential as a line, contacts as plain links */
.f-creds { margin: 0 0 16px; gap: 0; }
.f-creds li { padding: 0; background: none; border-radius: 0; font-size: .95em; font-weight: 600; color: var(--text-2); gap: 8px; }
.f-creds li::before { width: 9px; height: 8px; }
.f-contact { gap: 2px; }
.f-contact a { border: 0; padding: 6px 0; border-radius: 0; font-size: .92em; gap: 10px; color: var(--text); }
.f-contact a span { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.f-contact a:hover { background: none; color: var(--c); }
.f-contact a:hover span { border-bottom-color: currentColor; }
.f-contact svg { width: 17px; height: 17px; color: var(--c); }
.f-contact a + a { border-top: 1px solid var(--line-n); }

/* tighter: the photo wall and the growth bars */

.ab-climb { height: clamp(250px, 24vw, 330px); }
.ab-h { font-size: clamp(40px, 5.4vw, 86px); }
.ab-how, .ab-why, .ab-jobs, .team-sec { padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(40px, 5vw, 76px); }

.team-sec { min-height: 0; display: block; }

/* why it matters: the photos in two rows. Each photo keeps its own shape (nothing is cropped); photos in a row share one height. */
.ab-strip-k { margin: 0 0 12px; font-weight: 600; color: var(--text-2); }
.ab-photos { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.ab-row { display: flex; gap: clamp(8px, 1vw, 14px); align-items: flex-start; }
.ab-row figure { flex: var(--r) 1 0; min-width: 0; margin: 0; display: grid; gap: 8px; }
.ab-row img { display: block; width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; border-radius: clamp(10px, 1vw, 16px); background: #DDD8CF; }
.ab-row figcaption { font-weight: 600; font-size: .9em; color: var(--text); line-height: 1.25; }
@media (max-width: 760px) {
  .ab-photos { display: flex; flex-wrap: wrap; gap: 14px 8px; }
  .ab-row { display: contents; }
  .ab-row figure { order: var(--o); flex: 0 0 calc((100% - 8px) / 2); }
  .ab-row figure.ab-ph-wide { flex-basis: 100%; }
  .ab-row figcaption { font-size: .82em; }
}
