/* global */
body {
    font-family:'Lato', Verdana, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff; /* unified background */
    color: #1a1a1a;
  }
  
  .about-container {
    display: flex;
    align-items: center;   /* vertically align the text with the image */
    gap: 20px;             /* space between image and text */
  }
  
  .profile-pic {
    width: 100px;
    height: auto;
    border-radius: 0px;
  }
  .page {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background: transparent;   /* remove inset/card look */
    box-shadow: none;          /* ensure no shadows */
    border: none;              /* ensure no border */
  }
  
  /* name/header */
  .name {
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 1rem;
    display: inline;
    padding: 0 16px;
  }
  .week{
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 0.6rem;
    display: inline;
    padding: 0 16px;
  }
  
  /* main text */
  .content p {
    font-size: 0.6rem;
    line-height: 1.7;
    margin-bottom: 3rem;
  }
  .content a {
    color:#1a1a1a
  }

  .content a:hover{
    color: #ffffff;
    background: #1a1a1a;
  }
  
  /* Substack link */
  .links a {
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 0.6rem;
    color: #383838;
    padding-bottom: 3px;
  }
  
  .links a:hover {
    color: #ffffff;
    background: #1a1a1a;
  }
  .h1 {
    font-size: 1rem;
  }

  .h2 week{
    font-size: 0.3rem;
  }

#name-header {
  transition: color ease 0.3s;
  font-size: 2rem;
  cursor: crosshair;
}

a[target="_blank"]::after {
  content: "↗";   
  font-family: inherit;
  font-size: 0.85em;
}


/* Color states */
.name-color-1 { color: #15ff11; }  /* first hover */
.name-color-2 { color: #ff1afb; }  /* second hover */
.name-color-3 { color: #fffc30; }  /* third+ hover */
.name-color-4 { color: #00e1ff; }  /* third+ hover */
.name-color-5 { color: #ff0000; }  /* third+ hover */

.cursor-spark {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #ffd166; /* spark color */
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: spark-fade 500ms ease-out forwards;
}

@keyframes spark-fade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.2); }
}