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

body {
  font-family: Helvetica, Arial, sans-serif;
  overflow: hidden;
  background: white;
  color: black;
}

.container {
  display: flex;
  width: 100vw;
  height: 100vh;
}

/* SIDEBAR */

.sidebar {
  width: 320px;
  padding: 30px 25px;
  background: white;
  z-index: 2;
  flex-shrink: 0;
}

.name {
  margin-bottom: 60px;
  white-space: nowrap;
}

.name a {
  color: black;
  text-decoration: none;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

nav a,
.menu-button {
  color: black;
  text-decoration: none;
  font-size: 14px;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.active-link {
  text-decoration: underline;
}

/* SUBMENU */

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 18px;
  margin-top: 4px;
  margin-bottom: 4px;
  gap: 4px;
}

.submenu.active {
  display: flex;
}

.submenu a {
  font-size: 13px;
  color: rgb(80, 80, 80);
  line-height: 1.25;
}

.submenu-title {
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  color: rgb(140, 140, 140);
  margin-top: 2px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.section-space {
  margin-top: 18px;
}

/* HOMEPAGE VIDEO */

.content {
  flex: 1;
  height: 100vh;
}

.content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* GENERAL PAGE CONTENT */

.project-content {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  padding: 30px;
}

/* PROJECT TOP */

.project-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.project-poster,
.project-video {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  display: block;
}

.project-top-full {
  margin-bottom: 20px;
}

.project-full-image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

/* TEXT + CREDITS */

.project-info-full {
  max-width: 760px;
  margin-top: 45px;
  margin-bottom: 80px;
  font-size: 14px;
  line-height: 1.45;
}

.project-info-full h1 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 25px;
}

.project-info-full p {
  margin-bottom: 16px;
}

.credits {
  margin-top: 40px;
}

.credits em {
  font-size: 12px;
  color: rgb(120, 120, 120);
}

/* IMAGE GRIDS */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.image-grid img {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  display: block;
}

.top-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.top-gallery img {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  display: block;
}

/* VIDEO */

.video-top {
  margin-bottom: 40px;
}

.video-top video {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  display: block;
}

.fullscreen-video {
  width: 100%;
}

.fullscreen-video iframe {
  width: 100%;
  height: 85vh;
  border: none;
}

/* VIDEO STILL WITH PLAY BUTTON */

.video-still {
  display: flex;
  justify-content: center;
}

.video-still a {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: block;
}

.video-still img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 110px;
  height: 110px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 50px;
  color: white;
  transition: 0.3s;
}

.video-still a:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
}

/* CALENDAR */

.page-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 45px;
}

.calendar {
  max-width: 1000px;
}

.calendar-item {
  display: flex;
  gap: 40px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.calendar-date {
  width: 110px;
  flex-shrink: 0;
  color: black;
}

.calendar-title {
  color: black;
}

.calendar-info {
  color: rgb(80, 80, 80);
}

.calendar-info a {
  color: black;
  text-decoration: none;
}

.calendar-info a:hover {
  text-decoration: underline;
}

.calendar-year {
  font-size: 13px;
  font-weight: 400;
  color: rgb(140, 140, 140);
  margin-top: 40px;
  margin-bottom: 15px;
}

/* ABOUT */

.about-section {
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

.about-image {
  width: 140px;
  max-width: 140px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.about-text {
  max-width: 480px;
  font-size: 14px;
  line-height: 1.5;
}

.project-info-full a {
  color: black;
  text-decoration: none;
}

.project-info-full a:hover {
  text-decoration: underline;
}
/* SMARTPHONE */

@media (max-width: 768px) {

  body {
    overflow: auto;
  }

  .container {
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 100vh;
  }

  .sidebar {
    width: 100%;
    padding: 22px;
  }

  .name {
    margin-bottom: 35px;
  }

  .name a {
    font-size: 20px;
  }

  nav {
    gap: 9px;
  }

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

  .submenu {
    margin-left: 18px;
  }

  .submenu a {
    font-size: 13px;
  }

  .project-content,
  .content {
    width: 100%;
    height: auto;
    padding: 22px;
  }

  .content video {
    height: 70vh;
  }

  .project-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-poster,
  .project-video,
  .project-full-image,
  .video-top video {
    height: auto;
    max-height: none;
  }

  .project-info-full {
    max-width: 100%;
    margin-top: 35px;
    font-size: 14px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img,
  .top-gallery img {
    height: auto;
  }

  .top-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .calendar-item {
    display: block;
    margin-bottom: 22px;
  }

  .calendar-date {
    width: auto;
    margin-bottom: 4px;
  }

  .fullscreen-video iframe,
  .fullscreen-video video {
    height: 55vh;
  }

  .video-still a {
    max-width: 100%;
  }

  .play-button {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }

  .about-section {
    flex-direction: column;
    gap: 20px;
  }

  .about-image {
    width: 120px;
    max-width: 120px;
  }
}
.photo-credit {
  margin-top: 12px;
  font-size: 9px;
  color: rgb(160, 160, 160);
  font-style: italic;
  line-height: 1.3;
}