* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  background: #f7f7f7;
  color: #111;
}

/* Top navigation */

.navbar {
  height: 72px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.nav-left {
  position: absolute;
  left: 42px;
  display: flex;
  gap: 28px;
}

.nav-left a,
.nav-name {
  font-size: 18px;
  text-decoration: none;
  color: #111;
}

.nav-left a:first-child {
  font-weight: 700;
}

.nav-left a:hover {
  text-decoration: underline;
}

.nav-name {
  font-weight: 700;
}

/* Hero / welcome page */

.hero {
  min-height: calc(100vh - 72px);
  padding: 90px 24px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 0 0 28px;
  max-width: 900px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.bio {
  max-width: 850px;
}

.bio p {
  margin: 0 auto 20px;
  font-size: 21px;
  line-height: 1.55;
  color: #444;
}

/* Artifact buttons */

.button-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  padding: 12px 18px;
  border: 1px solid #111;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.15s ease, color 0.15s ease;
}

.button:hover {
  background: #111;
  color: #fff;
}

/* Lower sections */

.section {
  max-width: 850px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid #ddd;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 36px;
  letter-spacing: -0.03em;
}

.section p {
  font-size: 20px;
  line-height: 1.5;
  color: #444;
}

.section a {
  color: #111;
}

.text-link {
  font-weight: 700;
}

/* Mobile */

@media (max-width: 700px) {
  .navbar {
    height: auto;
    padding: 22px 20px;
    flex-direction: column;
    gap: 14px;
  }

  .nav-left {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-left a,
  .nav-name {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding: 70px 20px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .bio p {
    font-size: 18px;
  }
  .artifact {
    margin-top: 48px;
  }
  
  .artifact-image {
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
    margin-bottom: 24px;
    border: 1px solid #ddd;
  }
  
  .button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    border: 1px solid #222;
    color: #222;
    text-decoration: none;
    font-size: 15px;
  }
  
  .button:hover {
    background: #222;
    color: white;
  }
  .artifact-image.chess-image {
    width: 280px;
    max-width: 280px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
}