
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding: 2rem;
}

header {
  margin-bottom: 3rem;
}

footer {
  margin-top: 4rem;
  padding: 2rem 0;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  line-height: 1.6;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  aspect-ratio: 1 / 1;   
  overflow: hidden;
  position: relative;
  display: block;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.6rem;
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .caption {
  opacity: 1;
}

.work img {
  max-width: 100%;
  max-height: 95vh;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto 2rem auto;
}


.info {
  max-width: 600px;
  margin-top: 2rem;
  padding: 2rem 2rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.back-link {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  transition: 0.3s ease;
}


.menu {
  position: fixed;
  inset: 0;
  background: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  font-size: 1.5rem;

  z-index: 2000;
}

.menu a {
  color: #111;
}

.menu.show {
  display: flex;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 4rem auto;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  max-width: 500px;
}

.about-text h1 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
}

.social a {
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
}

.project-info {
  margin-top: 4rem;
  max-width: 800px;
  margin-left: 2rem;
  margin-right: 2rem;
}

.series-overview {
  display: flex;
  flex-direction: column;
  gap: 6rem 0rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.series-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0 0.8rem;
  align-items: start;
}

.series-item img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.series-text {
  max-width: 500px;
}

.series-text h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.series-text p {
  line-height: 1.7;
  font-size: 0.95rem;
}


@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-info {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .series-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
