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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
}

img {
  display: block;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  margin-bottom: 64px;
  position: relative;
}

.name {
  font-size: 24px;
  font-weight: 700;
}

.name-char {
  display: inline-block;
}

.name-char.hit {
  font-weight: 900;
  color: #f00;
  transform: scale(1.8) rotate(var(--r, 0deg));
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 3px;
  background: rgba(0, 0, 0, 0.8);
}

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 1000;
}

.nav.open {
  right: 0;
}

.nav a {
  font-size: 24px;
}

.latest-work h2,
.selected-works h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 40px;
}

.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.bio {
  max-width: 720px;
}

.bio,
.latest-work,
.selected-works,
.portrait {
  margin-bottom: 80px;
}

.bio,
.selected-works,
.contact {
  scroll-margin-top: 80px;
}

.bio p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.bio-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}

.bio-download img {
  width: 20px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.work-item img {
  aspect-ratio: 1;
  object-fit: cover;
}

.work-title {
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}

.contact {
  padding-bottom: 80px;
}

.contact a {
  font-size: 32px;
  border-bottom: 1px solid;
}

@media (min-width: 768px) {
  .header {
    padding: 40px 0;
    margin-bottom: 80px;
  }

  .name {
    font-size: 32px;
  }

  .hamburger {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    gap: 24px;
  }

  .nav a {
    font-size: 14px;
  }

  .bio p {
    font-size: 18px;
  }

  .works-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}
