/* The People page deliberately has one reading axis and very little furniture. */
html.people-document {
  height: 100%;
  overflow: hidden;
}

html.people-document body {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.people-page {
  padding-bottom: 38px;
}

.people-page main {
  padding-bottom: 32px;
}

.people-page .sauce-line {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
}

/* Compact introduction: one useful line, then straight to the people. */
.people-hero {
  display: block;
  align-items: center;
  max-width: 1320px;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(24px, 2.8vw, 38px) clamp(22px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.people-hero-copy {
  display: block;
  padding: 0;
}

.people-hero h1 {
  max-width: none;
  margin: 9px 0 0;
  font-size: clamp(2.4rem, 3.35vw, 4rem);
  line-height: 1;
  letter-spacing: -.034em;
  white-space: nowrap;
}

/* A narrow side rail leaves the reading area calm and easy to scan. */
.people-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 38px) clamp(22px, 4vw, 56px) 0;
}

.people-index {
  position: sticky;
  top: 24px;
  z-index: 25;
  display: grid;
  align-self: start;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(247,245,241,.96);
  backdrop-filter: blur(8px);
}

.people-index.is-fixed {
  position: fixed;
  top: 82px;
  left: max(22px, calc((100vw - 1320px) / 2 + 56px));
  width: 188px;
}

.people-index .index-label {
  display: flex;
  align-items: center;
  padding: 15px 16px;
  white-space: nowrap;
}

.people-index button,
.people-index a {
  min-height: 52px;
  border: 0;
  border-top: 1px solid var(--line);
}

.people-index button {
  position: relative;
  padding: 10px 15px;
}

.people-index button:hover,
.people-index button:focus-visible,
.people-index button.active {
  background: transparent;
  color: var(--ink);
}

.people-index button.active::after {
  content: "";
  position: absolute;
  top: 9px;
  right: auto;
  bottom: 9px;
  left: -1px;
  width: 3px;
  height: auto;
  background: var(--red);
}

.people-index a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: var(--red);
  color: #fff;
}

.people-sections {
  display: grid;
  grid-column: 2;
  gap: 0;
}

.people-section {
  scroll-margin-top: 66px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.people-section:not(.is-active) {
  display: none;
}

.people-section > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 10px 0 24px;
}

.people-section > summary > span {
  width: 40px;
  height: 40px;
  background: transparent;
}

.people-section > summary small {
  margin-bottom: 6px;
}

.people-section > summary strong {
  max-width: none;
  font-size: clamp(1.25rem, 1.65vw, 1.65rem);
  white-space: nowrap;
}

.people-section[open] > summary {
  border-bottom: 0;
  background: transparent;
}

.section-body {
  padding: 0 0 clamp(34px, 5vw, 66px) 58px;
}

/* Two equal profiles. Images occur once, beside the names—not in a second hero. */
#founders .section-body {
  padding-left: 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4.2vw, 58px);
  align-items: stretch;
}

#founders .founder-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 34px);
  border: 0;
  border-top: 3px solid var(--ink);
  background: transparent;
}

.founder-heading {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: center;
  margin-bottom: 25px;
}

.founder-photo {
  display: block;
  position: relative;
  width: 116px;
  max-width: none;
  margin: 0;
}

.founder-photo::after {
  content: none;
}

.founder-photo img {
  display: block;
  width: 116px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  filter: saturate(.9);
}

.founder-kicker {
  color: var(--red);
  white-space: nowrap;
}

.founder-identity {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.founder-name {
  margin: auto 0;
}

.founder-email {
  align-self: flex-end;
  padding: 8px 11px;
  background: var(--ink);
  color: #fff;
  font: 800 .62rem/1 Arial, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
}

.founder-email:hover,
.founder-email:focus-visible {
  background: var(--red);
}

.founder-card h2 {
  margin: 8px 0 0;
  font-size: clamp(1.85rem, 1.95vw, 2.15rem);
  line-height: .98;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.founder-story p {
  margin: 0 0 1em;
  font-size: clamp(.94rem, 1vw, 1rem);
  line-height: 1.64;
}

.founder-story p:last-child {
  margin-bottom: 0;
}

.founder-card dl {
  align-self: end;
  margin-top: 26px;
}

.founder-card dl div {
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 14px;
  min-height: 53px;
  padding: 10px 0;
}

.founder-card dd {
  font-size: .8rem;
  line-height: 1.42;
}

.founders-grid > blockquote {
  grid-column: 1 / -1;
  margin: 0;
  padding: 23px 0 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.35vw, 2.05rem);
}

.founders-grid > blockquote > span {
  display: block;
}

.founders-grid > blockquote .contrast-line {
  white-space: nowrap;
}

.prose {
  max-width: 900px;
}

.prose blockquote > span {
  display: block;
}

.diligence-intro {
  max-width: none;
  white-space: nowrap;
}

/* Finish quietly. */
.people-cta {
  max-width: 1208px;
  margin: 28px auto 0;
  padding: 28px clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.people-cta h2 {
  max-width: 850px;
  margin-top: 7px;
  font-size: clamp(1.65rem, 2.7vw, 2.8rem);
  line-height: 1.06;
}

.people-cta a {
  padding: 12px 16px;
}

@media (max-width: 900px) {
  .people-hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .people-hero h1 {
    font-size: clamp(2.9rem, 10vw, 4.6rem);
    white-space: normal;
  }

  .people-layout {
    display: block;
  }

  .people-index {
    top: 58px;
    display: flex;
    overflow-x: auto;
    margin: 0 -22px;
    padding: 0 14px;
  }

  .people-index.is-fixed {
    position: sticky;
    left: auto;
    width: auto;
  }

  .people-sections {
    grid-column: auto;
  }

  .people-index .index-label,
  .people-index a {
    display: none;
  }

  .people-index button {
    flex: 0 0 auto;
    width: auto;
    min-height: 47px;
  }

  .people-section > summary strong {
    white-space: normal;
  }

  .founders-grid > blockquote .contrast-line {
    white-space: normal;
  }

  .diligence-intro {
    white-space: normal;
  }

  .founders-grid {
    grid-template-columns: 1fr;
  }

  #founders .founder-card {
    display: block;
  }

  .founder-card dl div {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .people-layout {
    padding-right: 14px;
    padding-left: 14px;
  }

  .people-index {
    margin-right: -14px;
    margin-left: -14px;
  }

  .people-section > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .people-section > summary > span {
    display: none;
  }

  .section-body {
    padding-left: 0;
  }

  .founder-heading {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
  }

  .founder-photo,
  .founder-photo img {
    width: 108px;
  }

  .founder-card h2 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    white-space: normal;
  }

  .founder-kicker {
    white-space: normal;
  }
}
