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

  a[target=_blank] {
    text-decoration: none;
    color: #222;
    white-space: nowrap; /* keep the arrow on the same line as the link text */
  }

  /* Square-cut arrow, drawn as a mask so it takes the link color (incl. hover).
     Stroke matches Inter's letter thickness
     (arrow = 0.6em, bottom sits on the text baseline) */
  a[target=_blank]:after {
    content: "";
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.2em;
    vertical-align: baseline;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='black' stroke-width='13' stroke-linejoin='miter'%3E%3Cpath d='M30 6.5H93.5V70'/%3E%3Cpath d='M93.5 6.5L6 94'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='black' stroke-width='13' stroke-linejoin='miter'%3E%3Cpath d='M30 6.5H93.5V70'/%3E%3Cpath d='M93.5 6.5L6 94'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  a[target=_blank]:hover {
    color: #c30085;
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F5E9;
    font-weight: 400;
  }
  
  .container {
    display: flex;
  }
  
  /* intro column 1/3, projects 2/3 */
  .left-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 33.333%; /* exactly 1/3, padding included */
    min-width: 0;
    position: sticky;
    padding: 36px 40px;
  }
  
  .right-column {
    flex: 1; /* the remaining 2/3 */
    min-width: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 36px 40px;
  }

  /* fill the 2/3 column, but stop growing on very large monitors
     so description lines don't get too long to read */
  .right-column > h2,
  .right-column > .projects {
    max-width: 1200px;
  }
  
  .text-black, h1, h3, .text-gray, h2, .text-link {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 125%;
    color: #222;
  }

  p {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 125%;
    color: #6b6b6b;
  }
  
  .text-display {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    line-height: 120%;
    margin-top: 192px;
    color: #222;
  }
  
  .text-gray, h2 {
    color: #6b6b6b;
  }
  
  .links-desktop {
    display: flex;
    flex-wrap: wrap; /* wrap instead of forcing the 1/3 column wider */
    gap: 12px 40px;
    margin-top: auto;
  }
  
  .links-mobile {
    display: none;
  }
  
  .projects {
    margin-top: 192px;
  }
  
  .project {
    display: flex;
    column-gap: 40px;
    margin-bottom: 72px;
  }
  
  /* narrow name/subtitle column so descriptions get the extra width */
  .project-left {
    flex: 0 0 26%;
  }
  
  .project-right {
    flex: 1;
  }

  .project p {
    font-weight: 325;
  }

  /* "More" links use the same type as the Linkedin/Github/... links */
  .project p a {
    font-weight: 400;
  }
  
  .orb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  @media (min-width: 1440px) {
      .text-display {
        font-size: 2.75em;
    }
  }
  
  @media (max-width: 1200px) {
    .project {
      flex-direction: column;
    }
  
    .project-left {
      flex: 100%;
      margin-bottom: 12px;
    }
  
    .project-right {
      flex: 100%;
    }
    
     .text-display {
      font-size: 2.25em;
    }
  }
  
  @media (max-width: 768px) {
     html, body {
     height: auto; /* Reset the height to auto */
    }
    
    .container {
      flex-direction: column;
    }
  
    .left-column {
      flex: none;
      position: static;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 16px 20px;
    }
    
    .right-column {
      padding: 52px 20px 16px 20px;
    }
    
    .projects {
      margin-top: 32px;
    }
    
    .text-display {
      margin-top: auto;
      font-size: 2em;
    }
  
    .links-desktop {
      display: none;
    }
    
    .links-mobile {
      display: flex;
      gap: 0 40px;
    }
  }

  /* PROJECT HOVER POPUP: disabled for now, revisit later

  .project {
    position: relative;
  }
  
  .project .project-img {
    display: none;
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    width: 30%;
    height: auto;
  }
  
  .project .show-image .project-img {
    display: block;
  }

   Image with three phones: the phones are drawn smaller (372px vs 520px),
     so show it 1.4x wider to match the two-phone mockups 
  .project .project-img.project-img-3up {
    width: calc(30% * 520 / 372);
  }


   Laptop mockups (Mastermind, Imagify), shown a bit larger than the phones 
  .project .project-img.project-img-laptop {
    width: calc(30% * 1.2);
  }

   Imagify's laptop is drawn smaller in its file (958px vs 1195px wide,
     because a phone sits next to it), so scale it up to match Mastermind 
  .project .project-img.project-img-laptop-small {
    width: calc(30% * 1.2 * 1195 / 958);
  }

  END PROJECT HOVER POPUP */
