/* Personal-message layout inspired by the user's TestimonialsSection reference. */
.founder-message {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: var(--bg);
  overflow: clip;
}
.founder-message .founder-row {
  position: relative;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  align-items: center;
}
.founder-row::before, .founder-row::after {
  content: "";
  position: absolute;
  inset-inline: -7vw;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 15%, var(--line) 85%, transparent);
  pointer-events: none;
}
.founder-row::before { top: 0; }
.founder-row::after { bottom: 0; }
.founder-portrait {
  position: relative;
  align-self: stretch;
  min-height: 272px;
}
.founder-portrait::before, .founder-portrait::after {
  content: "";
  position: absolute;
  top: -64px;
  bottom: -64px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 20%, var(--line) 80%, transparent);
  z-index: 1;
  pointer-events: none;
}
.founder-portrait::before { inset-inline-start: 0; }
.founder-portrait::after { inset-inline-end: 0; }
.founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 35%;
  -webkit-mask-image: none;
  mask-image: none;
}

/* A restrained brand-blue tint replaces the former full white fade. */
.founder-portrait-tint {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 14%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--navy) 12%, transparent));
  pointer-events: none;
}

.founder-copy { padding: 1.5rem 0 1.5rem clamp(1.75rem, 3.5vw, 3rem); }
.founder-copy blockquote { margin: 0; }
.founder-copy blockquote p {
  margin: 0;
  max-width: none;
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 1.875rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.025em;
  color: #72767e;
}
.founder-copy blockquote .lang-en { display: block; }
.founder-copy blockquote .lang-fa { display: none; }
.founder-copy blockquote strong { color: var(--navy); font-weight: 600; }
.founder-byline { margin-top: 1.75rem; }
.founder-byline h2 {
  margin: 0 0 .3rem;
  font: 500 1.25rem/1.35 'Google Sans', sans-serif;
  letter-spacing: -.015em;
  color: var(--navy);
}
.founder-byline p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
body.fa .founder-copy { padding: 1.5rem clamp(1.75rem, 3.5vw, 3rem) 1.5rem 0; }
body.fa .founder-copy blockquote .lang-en { display: none; }
body.fa .founder-copy blockquote .lang-fa { display: block; }
body.fa .founder-copy blockquote p, body.fa .founder-byline h2, body.fa .founder-byline p {
  font-family: 'Shabnam', sans-serif;
  letter-spacing: 0;
}
body.fa .founder-copy blockquote p { line-height: 1.75; font-size: clamp(1.25rem, 1.85vw, 1.6rem); }
@media (max-width: 760px) {
  .founder-message { padding-block: 3rem; }
  .founder-message .founder-row { grid-template-columns: minmax(0, 1fr); }
  .founder-portrait { width: 192px; min-height: 192px; margin: 0 auto; }
  .founder-portrait::before, .founder-portrait::after { top: -32px; bottom: -24px; }
  .founder-copy, body.fa .founder-copy { padding: 1.75rem .5rem; }
  .founder-copy blockquote p { font-size: 1.4rem; line-height: 1.45; }
  .founder-byline { margin-top: 1.25rem; }
}

.founder-identity {display:flex;align-items:center;flex-wrap:wrap;gap:.3rem 1rem;margin-bottom:.2rem;}
.founder-identity h2 {margin:0;}
.founder-linkedin {display:inline-flex;align-items:center;gap:.3rem;min-height:36px;font-size:.85rem;font-weight:400;color:#536784;text-decoration:underline;text-decoration-color:#53678455;text-underline-offset:.25rem;}
body:is(.fa,:not(.fa)) .founder-linkedin > :is(.lang-en,.lang-fa) {font-weight:inherit;}
.founder-linkedin:hover {color:var(--navy);text-decoration-color:currentColor;}
.founder-linkedin:focus-visible {outline:2px solid #2369a6;outline-offset:4px;border-radius:2px;}
@media(max-width:760px) {.founder-linkedin {min-height:44px;}}
