/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  color: #333;
  background-color: #fff;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

/* Typography */
h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2em;
  color: #242426;
}

p {
  letter-spacing: 0.25px;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8em;
}

a {
  color: #242426;
  text-decoration: none;
}

/* Layout */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section.grey {
  background-color: #f4f5f9;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 140px;
}

.container {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
}

/* Profile Components */
.profile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 30px;
  border: 4px solid #dadee6;
}

.headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-section {
  margin-bottom: 30px;
}

.name-section h1 {
  margin-bottom: 10px;
}

.role {
  color: #666;
  margin-bottom: 0;
  font-size: 16px;
}

.bio-section {
  max-width: 600px;
  margin-bottom: 40px;
}

.bio-section p {
  color: #333;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  z-index: 1;
  color: #0529ff;
  background-color: #fff;
  border: 2px solid #0529ff;
  padding: 9px 15px;
  font-weight: 700;
  line-height: 18px;
  transition: transform 0.2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  transform: translate(3px, -2px);
}

.button .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Responsive Design */
@media screen and (max-width: 767px) {
  h1 {
    font-size: 36px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section.grey {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .headshot {
    width: 150px;
    height: 150px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    font-size: 32px;
  }

  p {
    font-size: 14px;
  }

  .section.grey {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .headshot {
    width: 120px;
    height: 120px;
  }

  .social-links {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }
}
