:root {
    --bg-color: #f9f9f9;
    --text-color: #111;
    --link-color: #111;
    --accent-color: #555;
    --fade-opacity: 0.5;
    --quote-color: rgba(17,17,17,0.1);
    --max-width: 600px;
    --intro-height: 200px;
    font-family: "Ubuntu", sans-serif;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    overflow-x: hidden;
    padding: 1rem;
    line-height: 1.5;
  }
  
  main {
    max-width: var(--max-width);
    width: 100%;
  }
  
  /* Intro section: fixed height, content bottom-aligned, left-aligned */
  .intro {
    min-height: var(--intro-height);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 1.4rem;
  }
  
  /* Static welcome title */
  .intro-title {
    font-weight: 400;
    font-size: 1.7rem;
    margin-bottom: 0.6rem;
  }
  
  .intro-text {
    font-weight: 400;
    font-size: 1.1rem;
  }
  
  h2 {
    font-weight: 300;
    text-transform: lowercase;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
  }
  
  ul { list-style: none; }
  
  .current-projects li,
  .old-projects li {
    margin-bottom: 0.4rem;
    transition: opacity 0.3s ease;
  }
  
  a {
    color: var(--link-color);
    text-decoration: none;
    position: relative;
  }
  a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
  }
  a:hover::after { transform: scaleX(1); }
  
  .award-icon {
    margin-right: 0.3rem;
    display: inline-block;
  }
  
  .separator {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
  }
  .separator hr {
    flex: 1;
    border: none;
    height: 1px;
    background: var(--text-color);
    opacity: 0.3;
  }
  .separator span {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
  }
  
  .old-projects li {
    opacity: var(--fade-opacity);
  }
  .old-projects li:hover {
    opacity: 1;
  }
  
  .quote blockquote {
    font-style: italic;
    color: var(--quote-color);
    max-width: 500px;
  }
  .quote p { margin-bottom: 0.4rem; }
  .quote cite {
    display: block;
    text-align: right;
    font-style: normal;
    opacity: 0.5;
  }
  
  /* subtle scanlines */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 2px
    );
    pointer-events: none;
    z-index: 1;
  }
  
  .cursor {
    display: inline-block;
    width: 0.5ch;
    background: var(--accent-color);
    animation: blink 1s steps(2) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }
  