*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-base);
  background: var(--bg-main);
  color: var(--text-primary);
}

body {
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body.nav-open {
  overflow: hidden;
  padding-right: var(--scrollbar-compensation, 0px);
}

body::before {
  content: none;
}

::-webkit-scrollbar {
  display: none;
}

.about-wrapper {
  width: min(85.9375rem, calc(100% - (var(--page-inline-pad) * 2)));
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--header-top-offset) + var(--page-content-top-gap)) 0 0;
  flex: 1 1 auto;
}

.about-page-shell {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-bottom: 0.4rem;
}

.about-top-row {
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
}

.about-hero {
  margin-top: 0;
  padding: 0 0 0.2rem;
  text-align: left;
  border-radius: var(--radius-ms);
}

.about-title {
  max-width: 16ch;
  margin: var(--page-title-top-offset) auto 0.55rem;
  color: var(--text-primary);
  font-size: var(--fs-page-title);
  line-height: 1.12;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  text-align: center;
}

.about-lede {
  margin: 0 auto 0.25rem;
  width: fit-content;
  max-width: 100%;
  color: rgba(var(--text-primary-rgb), 0.72);
  font-size: var(--fs-base);
  line-height: 1.55;
  text-align: center;
}

.about-sublede {
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  color: rgba(var(--text-primary-rgb), 0.72);
  font-size: var(--fs-base);
  line-height: 1.5;
  text-align: center;
}

.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.625rem;
}

.story-block {
  overflow: hidden;
  background: linear-gradient(180deg, var(--text-on-dark) 0%, var(--bg-surface) 100%);
  border: 1px solid rgba(var(--text-primary-rgb), 0.08);
  border-radius: var(--radius-ms);
  padding: 1.35rem 1.1rem 1.05rem;
  box-shadow: 0 10px 24px rgba(var(--text-primary-rgb), 0.06);
}

.story-block h2 {
  margin: 0.45rem 0 0.35rem;
  color: var(--text-primary);
  font-size: var(--fs-page-subtitle);
  font-weight: var(--fw-semibold);
}

.story-block p {
  margin-top: 0.65rem;
  color: rgba(var(--text-primary-rgb), 0.78);
  line-height: 1.66;
}

.about-people {
  background: transparent;
  border: 0;
  padding: 0;
}

.about-people-shell {
  width: 100%;
  padding-inline: 0;
}

.about-people-shell .showcase-title {
  margin-top: 1.25rem;
  font-size: var(--fs-base);
  line-height: 1.2;
  letter-spacing: var(--ls-xwide);
  text-transform: uppercase;
  color: var(--interactive);
  font-weight: var(--fw-semibold);
  text-align: left;
}

.about-people-shell .showcase-heading-row {
  margin-top: 0.35rem;
  margin-bottom: 0.9rem;
  display: flex;
  justify-content: flex-start;
}

.about-people-shell .showcase-subtitle {
  margin: 0;
  color: var(--text-primary);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  line-height: 1.1;
  text-align: left;
}

.about-people-shell .stack-lede {
  margin: 0.35rem 0 0;
  color: rgba(var(--text-primary-rgb), 0.72);
  font-size: var(--fs-base);
  line-height: 1.5;
  text-align: left;
}

.people-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.people-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--text-on-dark) 0%, var(--bg-surface) 100%);
  border: 1px solid rgba(var(--text-primary-rgb), 0.08);
  border-radius: var(--radius-ms);
  padding: 1.15rem 1.1rem 1.05rem;
  box-shadow: 0 10px 24px rgba(var(--text-primary-rgb), 0.06);
}

.team-avatar {
  width: 4.625rem;
  height: 4.625rem;
  margin-top: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 14px 28px -16px rgba(var(--text-primary-rgb), 0.42),
    0 4px 10px -8px rgba(var(--text-primary-rgb), 0.3);
}

.people-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.people-copy h3 {
  margin-bottom: 0.1rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
}

.people-copy p {
  margin-top: 0.3rem;
  color: rgba(var(--text-primary-rgb), 0.72);
  font-size: var(--fs-base);
  line-height: 1.45;
}

.people-linkedin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-xxl);
  border: 0;
  color: var(--text-on-dark);
  background: var(--interactive);
  text-decoration: none;
  white-space: nowrap;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  line-height: 1;
  box-shadow: none;
  transition: filter 0.18s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.people-linkedin-badge:hover,
.people-linkedin-badge:focus-visible {
  background: var(--interactive);
  color: var(--text-on-dark);
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.people-linkedin-badge:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

.people-linkedin-badge i {
  font-size: var(--fs-base);
  line-height: 1;
}

.about-cta-panel {
  margin-top: 0.35rem;
  background: var(--bg-dark);
  border-radius: var(--radius-sx);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.about-cta-panel .showcase-cta-copy {
  min-width: 0;
}

.about-cta-title {
  margin: 0;
  color: var(--text-on-dark);
  font-size: var(--fs-lg);
  line-height: 1.15;
  font-weight: var(--fw-bold);
}

.about-cta-panel .showcase-cta-copy p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  font-size: var(--fs-base);
  max-width: 80ch;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-xxl);
  border: 0;
  background: var(--interactive);
  color: var(--text-on-dark);
  font-weight: var(--fw-bold);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: filter 0.18s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.about-cta-btn:hover,
.about-cta-btn:focus-visible {
  color: var(--text-on-dark);
  background: var(--interactive);
  filter: brightness(0.98);
}

.about-cta-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1100px) {
.about-hero {
    margin-top: 0.45rem;
    text-align: left;
    padding: 2rem 0.95rem 0.9rem;
  }

  .people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --header-top-offset: 0;
    --header-height: 3.75rem;
  }

  .about-wrapper {
    width: 100%;
  }

  .about-lede,
  .about-sublede {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    font-size: var(--fs-base);
    text-align: center;
  }

  .people-list {
    grid-template-columns: 1fr;
  }

  .about-cta-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  .about-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .people-row {
    display: grid;
    align-items: start;
    gap: 0.85rem;
    height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .team-avatar {
    width: 4rem;
    height: 4rem;
  }

  .people-copy {
    align-items: center;
  }

  .people-linkedin-badge {
    align-self: center;
  }

  .about-page-shell {
    padding-inline: 0.75rem;
    gap: 0.9rem;
  }

  .story-block {
    padding: 1rem 0.9rem 0.85rem;
  }
}
