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

body {
  font-family: "Heebo", Arial, sans-serif;
  background: #fff;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }

/* Text sizes follow the screen width (clamp: min, preferred, max) */
/* Header */
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 64px;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 500;
  letter-spacing: 0.25em;
}
nav { display: flex; gap: 24px; font-size: clamp(13px, 0.93vw, 16px); font-weight: 400; }
nav a { padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .2s; }
nav a:hover, nav a.active { border-bottom-color: #111; }

/* Main */
main { flex: 1; display: flex; align-items: center; padding: 80px 0; }

/* Home: the photo is shown whole, centered */
.hero { display: flex; justify-content: center; }
.hero-img { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.about img { width: 100%; height: auto; display: block; margin-top: 55px; }
.about h1 { font-size: clamp(12px, 0.86vw, 15px); line-height: 1.5; font-weight: 500; letter-spacing: 0.15em; margin-bottom: 32px; }
.about p { font-size: clamp(14px, 1vw, 17px); line-height: 1.9; font-weight: 300; color: #333; margin-bottom: 14px; max-width: 560px; }

/* Photos: one photo at a time, same height for all */
.gallery { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.stage { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; }
.stage img {
  display: block;
  height: min(calc(100vh - 300px), calc((100vw - 200px) / 1.5));
  min-height: 240px;
  width: auto; max-width: calc(100% - 120px);
  object-fit: contain;
  cursor: pointer;
  user-select: none;
}
.nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #111; cursor: pointer;
  font: 300 22px "Heebo", Arial, sans-serif; padding: 12px 16px;
}
.nav-btn:focus-visible { outline: 1px solid #111; }
.prev { right: 0; }
.next { left: 0; }
.count { font-size: clamp(11px, 0.8vw, 13px); font-weight: 300; color: #444; letter-spacing: .1em; direction: ltr; }

/* Footer */
footer .wrap {
  border-top: 2px solid #111;
  padding: 20px 0 64px;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 300;
  color: #444;
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  header .wrap { padding-top: 32px; flex-direction: column; align-items: flex-start; }
  nav { gap: 18px; }
  main { padding: 48px 0; }
  .hero-img { max-height: 65vh; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about img { margin-top: 0; }
  /* Phone: photo full width, arrows underneath */
  .stage { flex-wrap: wrap; justify-content: space-between; }
  .stage img { order: -1; flex-basis: 100%; height: 55vh; min-height: 0; max-width: 100%; }
  .nav-btn { position: static; transform: none; }
  footer .wrap { padding-bottom: 32px; }
}
