/* Reset and Base Styles */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    margin: 0 auto;
    font-family: 'GFS Didot', serif;
    font-size: 18px;
    color: #201211;
    background-color: #fff;
  }
  
  *, *::before, *::after {
    box-sizing: inherit;
  }
  
  /* Typography */
  h1, h3 {
    font-family: 'GFS Didot', serif;
    margin-top: 0;
  }
  h1 {
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1;
    margin-bottom: 2rem;
  }
  h2, .tagline, .cta-button, .sans {
    font-family: 'Comfortaa', sans-serif;
    font-weight: lighter;
    text-transform: uppercase;
  }
  h2 {
    font-size: 18px;
  }
  p, ul li {
    line-height: 1.6;
  }
  ul li {
    margin-bottom: 10px;
  }
  .lead, .sans {
    font-size: 20px;
    margin-bottom: 20px;
  }

  
  /* Layout */
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100vw;
  }
  main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 20px;
    max-width: 1200px;
    padding: 20px;
    min-height: 100vh;
  }
 section {
    min-height: 90vh;
  }
  section:not(:last-of-type) {
    margin-bottom: 40px;
  }
  footer {
    background-color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 20px 0;
    width: 100%;
  }
  footer p {
    margin: 0;
  }
  
  /* Utility */
  .d-block {
    display: block;
  }
  .px-20 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mb-60 {
    margin-bottom: 60px;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  .full-width {
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .flex-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }
  
  /* Header */
  header {
    padding: 20px 0;
  }
  header a {
    align-items: center;
    color: #201211;
    display: inline-flex;
    text-decoration: none;
  }
  header a:hover {
    color: #ed7169;
  }
  .avatar {
    margin-right: 10px;
  }
  
  /* Tagline */
  .tagline {
    font-size: 20px;
    margin-bottom: 40px;
  }
  .tagline > span {
    display: block;
    margin-bottom: 10px;
  }
  
  /* Buttons */
  .cta-button {
    position: relative;
    font-size: 16px;
    display: inline-block;
    padding: 10px 0;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 200px;
    line-height: 1.4;
  }
  .cta-button::after {
    content: "";
    display: block;
    margin-top: 16px;
    width: 75%;
    border-bottom: 1px solid #ed7169;
    transition: border-color 0.3s;
  }
  .cta-button:hover {
    color: #ed7169;
  }
  
  /* Grids */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
  }
  section.bio .grid-container {
    gap: 20px;
  }
  .gradient-bg {
    border-radius: 8px;
    position: relative;
    padding: 20px;
    background: linear-gradient(180deg, #f3f3f3 0%, #fff 100%);
    z-index: 1;
  }
  .gradient-bg.contact-info {
    background: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);
  }

  /*Stylistic embellishments*/
  .border-box {
    padding: 20px;
    border: 1px solid #ed7169;
    margin-bottom: 60px;
    margin-top: 40px;
  }
  
  /* Responsive Styles */
  @media (min-width: 768px) {
    body {
      font-size: 24px;
    }
    main {
      padding: 40px;
    }
    h2 {
      font-size: 24px;
    }
    .lead, .tagline {
      font-size: 24px;
    }
    .container {
      padding: 0 60px;
    }
    .contact-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  }
  @media (min-width: 1200px) {
    header {
        padding: 20px;
    }
    h2 {
      font-size: 28px;
    }
    .grid-item {
      padding-bottom: 20px;
    }
    .tagline {
      font-size: 24px;
    }
    .tagline > span {
      display: inline-block;
    }
    .tagline > span:not(:last-child) {
      border-right: 1px solid #000;
      padding-right: 10px;
    }
    .tagline > span:not(:first-child) {
      padding-left: 10px;
    }
  }
  @media (max-width: 500px) {
    section.bio {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }