/* Shared founder story and people: warm colour, original portraits and readable credentials. */
.founder-story-section {
  --founder-ink: #790027;
  --founder-line: #79002726;
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 6vw, 88px);
  color: var(--founder-ink);
  background: #ffdae6;
  border-block: 1px solid #79002726;
}
.founder-story-section .founder-story-inner { position: relative; z-index: 1; max-width: 1160px; padding-inline: 0; }
.founder-story-header { max-width: 960px; margin: 0 auto 32px; text-align: center; }
.founder-story-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; padding: 12px; border: 1px solid #79002730; border-radius: 50%; color: #790027; background: #fff0a4; box-shadow: 3px 4px 0 #79002712; }
.founder-story-mark svg { display: block; width: 100%; height: 100%; }
.founder-story-section .founder-story-header h2 {
  position: relative;
  display: inline-block;
  isolation: isolate;
  scroll-margin-top: 140px;
  margin: 0 0 17px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.founder-story-header h3 { margin: 0; font-family: var(--serif, Georgia, serif); font-size: clamp(26px, 2.7vw, 37px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.founder-story-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(28px, 5vw, 64px); max-width: 960px; margin: 0 auto 56px; min-width: 0; }
.founder-story-body > p, .founder-story-section .founder-story-body > p { margin: 0; font-size: 15px; line-height: 1.85; max-width: none; }
.founder-story-body .founder-story-link { grid-column: 1 / -1; justify-self: center; margin-top: 4px; padding-bottom: 3px; }
.founder-input-panel { width: 100%; min-width: 0; color: #790027; }
.founder-people-heading { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 0 28px; }
.founder-people-heading::before, .founder-people-heading > span { content: ''; flex: 1; height: 1px; background: #79002726; }
section.founder-input-panel .founder-people-heading > p { flex: 0 1 auto; margin: 0; color: #790027; font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; text-align: center; }
.founder-input-panel .founder-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; max-width: 744px; gap: 32px 24px; list-style: none; margin: 0 auto; padding: 0; }
.founder-input-panel .founder-person { display: flex; min-width: 0; margin: 0; padding: 0; list-style: none; }
.founder-person__profile { display: flex; flex-direction: column; flex: 1; min-width: 0; overflow: hidden; border: 1px solid #79002721; border-radius: 34px 34px 22px 22px; background: var(--founder-card-tone, #790020); box-shadow: 0 8px 0 #79002709; }
.founder-person__portrait { flex: none; position: relative; width: auto; aspect-ratio: 1122 / 1402; margin: 9px 9px 0; overflow: hidden; isolation: isolate; border-radius: 26px 26px 13px 13px; background: #790020; }
/* Pin the photo to its ratio-sized frame so mobile flex sizing cannot expose edge bands. */
.founder-person__portrait > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; }
.founder-person__identity { --founder-detail-size: clamp(11px, 5cqi, 13px); flex: 1; min-width: 0; padding: 23px clamp(18px, 2vw, 26px) 25px; container-type: inline-size; }
.founder-input-panel .founder-person__identity > h3 { margin: 0 0 13px; font-family: var(--serif, Georgia, serif); font-size: 20px; font-size: clamp(18px, 9.1cqi, 29px); line-height: 1.15; letter-spacing: -.03em; white-space: nowrap; text-wrap: nowrap; }
.founder-input-panel .founder-person__identity > .founder-person__role { display: inline-block; margin: 0; padding: 5px 12px; border: 1px solid #fff0a4; border-radius: 30px; background: #fff0a4; color: #790020; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .035em; }

.founder-person__bio { min-width: 0; margin: 22px 5px 0; padding: 0 10px; color: #6a253c; }
.founder-input-panel .founder-person__bio > p { max-width: none; margin: 0 0 16px; font-size: 13px; line-height: 1.75; }
.founder-input-panel .founder-person__bio > p:last-child { margin-bottom: 0; }
.founder-input-panel .founder-person__bio > .founder-person__experience-label { margin: 0 0 14px; color: #790027; font-size: 10px; line-height: 1.6; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.founder-input-panel .founder-person__experience-list { list-style: none; margin: 0; padding: 0; }
.founder-input-panel .founder-person__experience-list > li { position: relative; margin: 0; padding: 0 0 0 16px; font-size: 13px; line-height: 1.75; }
.founder-person__experience-list > li::before { content: ''; position: absolute; top: 8px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #bd4b70; }
.founder-input-panel .founder-person__experience-list > li + li { margin-top: 16px; }
.founder-person__experience-list strong { display: block; color: #790027; font-weight: 700; }
.founder-person__experience-list span { display: block; margin-top: 2px; }
.founder-person__expertise { color: #790027; font-weight: 700; }
.founder-person__qualification span { display: block; margin-top: 4px; }
.founder-person__experience > span { display: block; margin-top: 9px; color: #790027; font-weight: 700; letter-spacing: .05em; }
.founder-story-page-opening { margin: 0 auto 48px; }
.founder-story-page-heading { max-width: 900px; margin: 0 auto 30px; text-align: center; }
.founder-story-page-heading h2 { margin: 0; font-family: var(--serif, Georgia, serif); font-size: clamp(32px, 4vw, 50px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.founder-story-page-opening .founder-story-body { margin-bottom: 0; }
.founder-story-page-cta { grid-column: 1 / -1; justify-self: center; margin-top: 4px; }
.founder-story-page-people { margin-bottom: 50px; }
/* Match the frame to the source portrait proportions on every screen. */
@media (min-width: 1200px) {
  .founder-input-panel .founder-people { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 24px; }
}
@media (max-width: 749px) {
  .founder-story-section { padding-block: 48px; }
  .founder-story-header { margin-bottom: 25px; }
  .founder-story-mark { width: 34px; height: 34px; margin-bottom: 16px; }
  .founder-story-section .founder-story-header h2 { font-size: clamp(42px, 10.6vw, 58px); margin-bottom: 15px; }
  .founder-story-header h3 { font-size: clamp(26px, 6.5vw, 33px); }
  .founder-story-body { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
  .founder-story-body > p, .founder-story-section .founder-story-body > p { font-size: 14px; line-height: 1.85; }
  .founder-story-body .founder-story-link { margin-top: 4px; }
  .founder-people-heading { gap: 14px; margin-bottom: 24px; }
  section.founder-input-panel .founder-people-heading > p { font-size: 10px; letter-spacing: .07em; }
  .founder-person__profile { border-radius: 26px 26px 20px 20px; }
  .founder-person__portrait { margin: 8px 8px 0; border-radius: 19px 19px 12px 12px; }
  .founder-person__identity { padding: 21px 18px 23px; }
  .founder-input-panel .founder-person__identity > h3 { font-size: clamp(18px, 9.1cqi, 29px); margin-bottom: 12px; }
  .founder-person__bio { margin: 18px 4px 0; padding-inline: 10px; }
  .founder-story-page-opening { margin-bottom: 34px; }
  .founder-story-page-heading { margin-bottom: 24px; }
  .founder-story-page-people { margin-bottom: 36px; }
}
@media (max-width: 639px) {
  .founder-input-panel .founder-people { grid-template-columns: minmax(0, 1fr); max-width: 340px; gap: 34px; margin-inline: auto; }
}
/* Decorations are isolated from copy, portraits and keyboard focus rings. */
.founder-story-decoration{position:absolute;inset:0;z-index:0;overflow:clip;pointer-events:none}
.founder-story-decoration svg{position:absolute;display:block}
.founder-story-decoration__flower{width:240px;height:240px;left:-75px;top:75px;transform:rotate(-12deg)}
.founder-story-decoration__spark{width:190px;height:190px;right:-40px;top:175px;transform:rotate(12deg)}
.founder-story-section .founder-story-header h2::after{content:'';position:absolute;z-index:-1;left:-10px;right:-10px;bottom:-1px;height:.42em;border-radius:12px;background:#fff0a4;transform:rotate(-1.4deg)}
.founder-story-section .founder-story-body{padding:28px 30px 24px;border:1px solid #79002725;border-radius:28px;background:#fffaf0;box-shadow:0 8px 0 #79002708;column-gap:34px;row-gap:22px}
.founder-story-section .founder-story-body .founder-story-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:0;padding:10px 22px;border:1px solid #79002738;border-radius:999px;background:#fff0a4;color:#790027;text-decoration:none;font:700 12px/1.6 var(--sans)}
.founder-story-section .founder-story-link:hover{background:#ffe7a4;border-color:#790027}
.founder-story-section .founder-story-link:focus-visible{outline:3px solid #790027;outline-offset:4px}
.founder-person__profile{border-color:#7900273b}
.founder-person__bio{box-shadow:inset 3px 0 0 #be4c70}
.founder-people-heading::before,.founder-people-heading>span{background:#79002745}
@media(max-width:749px){
 .founder-story-mark{width:48px;height:48px;padding:10px;margin-bottom:19px}
 .founder-story-section .founder-story-body{padding:22px 18px 20px;border-radius:23px;row-gap:17px}
 .founder-story-section .founder-story-body .founder-story-link{width:100%;padding:10px 12px;font-size:11px}
 .founder-story-decoration__flower{width:150px;height:150px;left:-68px;top:45px}
 .founder-story-decoration__spark{width:120px;height:120px;right:-45px;top:165px}
 .founder-story-section .founder-story-header h2::after{left:-5px;right:-5px;border-radius:8px}
}
.founder-input-panel .founder-person{--founder-card-tone:#790020}
.founder-input-panel .founder-person__identity > .founder-person__summary{margin:0;color:#fffaf0;font-size:var(--founder-detail-size);line-height:1.6;font-weight:400;letter-spacing:0}
.founder-input-panel .founder-person__identity > .founder-person__occupation{margin:12px 0 0;color:#fffaf0;font-size:var(--founder-detail-size);line-height:1.6;font-weight:400;letter-spacing:0}

.founder-input-panel .founder-person__identity > .founder-person__rank{margin:0 0 8px;color:#fffaf0;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.06em}
.founder-input-panel .founder-person__identity > .founder-person__role + .founder-person__summary{margin-top:12px}

.founder-input-panel .founder-person__profile{color:#fffaf0;border-color:#790020}
.founder-input-panel .founder-person__identity > h3{color:#fffaf0}

.founder-person--abheek .founder-person__portrait > img { transform: scale(-1.18, 1.18); transform-origin: 50% 15%; }

/* The card grid shares natural row heights; credentials can grow without clipping. */
.founder-person__identity { box-sizing: border-box; }

/* Every credential is part of the dark profile card. */
.founder-input-panel .founder-person__identity .founder-person__bio{margin:12px 0 0;padding:0;border:0;box-shadow:none;color:#fffaf0}
.founder-input-panel .founder-person__identity .founder-person__bio p{margin:0 0 6px;color:#fffaf0;font-size:var(--founder-detail-size);line-height:1.4;font-weight:400;max-width:none}
.founder-input-panel .founder-person__identity .founder-person__bio p:last-child{margin-bottom:0}
.founder-input-panel .founder-person__identity .founder-person__experience strong{display:block;margin-top:8px;color:#fff0a4;letter-spacing:.02em}
.founder-input-panel .founder-person__identity > h3.founder-person__name--long{font-size:clamp(14px,6.5cqi,22px);letter-spacing:-.035em}

/* Founder descriptions remain distinct lines; the advisor expertise fits one line. */
.founder-input-panel .founder-person__identity > .founder-person__summary > span,
.founder-input-panel .founder-person__identity > .founder-person__occupation > span { display: block; }
.founder-input-panel .founder-person__identity .founder-person__bio > .founder-person__expertise {
  font-size: var(--founder-detail-size);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.founder-input-panel .founder-person__identity .founder-person__experience > strong:only-child { margin-top: 0; }

/* Keep the Naval career line complete on compact founder cards. */
.founder-person--abheek .founder-person__occupation > span:first-child { font-size: clamp(10px, 4.7cqi, 12px); white-space: nowrap; }
