@font-face {
  font-family: 'Apple';
  src: url('fonts/applegaramond-light-webfont.woff2') format('woff2'),
       url('fonts/applegaramond-light-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


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

    body {
      /*background-image: url('textures/ss116.jpg');*/
      /*background-attachment: fixed;*/
      font-family: 'Apple';
      color: #111;
      line-height: 1.6;
    }

    /* NAVBAR */
    nav {
      position: sticky;
      top: 0;
      background: rgba(255,255,255,0.8);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 40px;
      border-bottom: 1px solid #e5e7eb;
      z-index: 1000;
    }

    nav h1 {
      font-size: 18px;
      font-weight: 600;
    }

    nav ul {
      display: flex;
      gap: 20px;
      list-style: none;
    }

    nav a {
      text-decoration: none;
      color: #444;
      font-size: 14px;
      transition: color 0.2s;
    }

    nav a:hover {
      color: #6366f1;
    }

    /* HERO */
    .hero {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 80px 40px;
      max-width: 1100px;
      margin: auto;
      gap: 40px;
    }

    .hero-text h2 {
      font-size: 38px;
      margin-bottom: 10px;
    }

    .hero-text p {
      color: #555;
      max-width: 450px;
    }

    .hero img {
      width: 160px;
      height: 160px;
      border-radius: 50%;
      object-fit: cover;
    }

    /* SECTIONS */
    section {
      max-width: 900px;
      margin: 80px auto;
      padding: 0 40px;
    }

    section h3 {
      margin-bottom: 25px;
      font-size: 24px;
    }

    /* PROJECTS + RESEARCH CARDS */
    .card {
      background: white;
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 18px;
      border: 1px solid #e5e7eb;
      transition: all 0.2s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .card h4 {
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .card p {
      color: #555;
      font-size: 14px;
      margin-bottom: 10px;
    }

    .card a {
      font-size: 13px;
      text-decoration: none;
      color: #6366f1;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .card a:hover {
      text-decoration: underline;
    }

    /* SKILLS */
    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .skill {
      background: #eef2ff;
      color: #4338ca;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 13px;
    }

    /* CREATIVE */
    .creative {
      text-align: left;
    }

    .creative a {
      display: inline-block;
      margin-top: 10px;
      color: #6366f1;
      text-decoration: none;
      font-size: 14px;
    }

    .creative a:hover {
      text-decoration: underline;
    }

    /* CONTACT */
    .contact {
      display: flex;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap;
    }

    .contact a {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #6366f1;
      text-decoration: none;
      font-size: 14px;
    }

    footer {
      text-align: center;
      padding: 40px;
      font-size: 13px;
      color: #777;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .hero {
        flex-direction: column;
        text-align: center;
      }

      nav {
        padding: 15px 20px;
      }

      section {
        padding: 0 20px;
      }
    }