/* V39: aligned Founder Stories section with a one-row scroll window. */
.founder-stories {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto 36px;
  padding: 22px;
  border: 1px solid #e3e9e0;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfcf8 0%, #f5f8f2 100%);
  box-shadow: 0 8px 24px rgba(34, 53, 43, .045);
}
.founder-stories-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}
.founder-stories-eyebrow {
  margin: 0 0 6px;
  color: #47765a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.founder-stories-heading h2 {
  margin: 0;
  color: #20322d;
  font: 700 21px/1.2 "Open Sans", Arial, sans-serif;
  letter-spacing: -.035em;
}
.founder-stories-intro {
  margin: 6px 0 0;
  color: #718078;
  font-size: 11px;
  line-height: 1.55;
}
.founder-stories-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #dce9dd;
  border-radius: 999px;
  color: #356349;
  background: #f4faf3;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.founder-video-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-height: 235px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #b6c7b9 #edf2ed;
  scrollbar-width: thin;
  padding: 1px 6px 6px 1px;
}
.founder-video-scroll:focus-visible {
  outline: 2px solid rgba(48, 125, 86, .3);
  outline-offset: 2px;
  border-radius: 5px;
}
.founder-video-scroll::-webkit-scrollbar { width: 8px; }
.founder-video-scroll::-webkit-scrollbar-track { border-radius: 8px; background: #edf2ed; }
.founder-video-scroll::-webkit-scrollbar-thumb { border: 2px solid #edf2ed; border-radius: 8px; background: #b6c7b9; }
.founder-video-grid {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 6px;
}
.founder-video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3e9e1;
  border-radius: 6px 6px 6px 3px;
  color: #20322d;
  background: #fff;
  box-shadow: 0 2px 5px rgba(31, 57, 44, .035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.founder-video-card:hover {
  transform: translateY(-1px);
  border-color: #bdd3c1;
  box-shadow: 0 5px 10px rgba(31, 57, 44, .09);
}
.founder-video-card:focus-visible {
  outline: 2px solid rgba(48, 125, 86, .3);
  outline-offset: 2px;
}
.founder-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e5ece6;
}
.founder-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.founder-video-card:hover .founder-video-thumb img { transform: scale(1.035); }
.founder-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 18px;
  height: 14px;
  place-items: center;
  padding-left: 1px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 4px;
  color: #fff;
  background: rgba(25, 41, 34, .83);
  font-size: 6px;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.founder-video-copy {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 6px;
}
.founder-video-source {
  display: inline-flex;
  justify-self: start;
  padding: 2px 4px;
  border: 1px solid #dce9dd;
  border-radius: 999px;
  color: #356349;
  background: #f4faf3;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
}
.founder-video-company {
  overflow: hidden;
  color: #77857a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.founder-video-founder {
  color: #65756a;
  font-size: 8px;
  line-height: 1.3;
}
.founder-video-title {
  display: -webkit-box;
  min-height: 31px;
  overflow: hidden;
  color: #26382f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.founder-video-metric {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
  margin-top: 2px;
  padding: 5px 7px;
  border: 1px solid #e0ebe1;
  border-radius: 4px;
  color: #2f674a;
  background: #f2f8f1;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}
.founder-video-metric small {
  color: #7f8f82;
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
}
.founder-stories-note {
  margin: 13px 0 0;
  color: #839087;
  font-size: 9px;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .founder-video-scroll { max-height: 285px; }
  .founder-stories { margin-bottom: 27px; padding: 16px; border-radius: 15px; }
  .founder-stories-heading { align-items: flex-start; }
  .founder-stories-heading h2 { font-size: 19px; }
  .founder-video-grid { gap: 5px; }
  .founder-video-copy { gap: 3px; padding: 5px; }
  .founder-video-title { font-size: 9px; min-height: 31px; }
}
@media (max-width: 390px) {
  .founder-stories { padding: 12px; }
  .founder-stories-heading { gap: 8px; }
  .founder-stories-count { padding: 5px 7px; font-size: 8px; }
  .founder-video-grid { gap: 4px; }
  .founder-video-copy { padding: 4px; }
  .founder-video-metric { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .founder-video-card, .founder-video-thumb img { transition: none; }
}
