/* ==================================================
   GENERAL
   ================================================== */

* {
  box-sizing: border-box;
}

html {
  background: #000;
}

body {
  margin: 0;
  min-height: 100vh;

  background: #000;
  color: #fff;

  font-family: "Silkscreen", sans-serif;
}


/* ==================================================
   LINKS
   ================================================== */

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* ==================================================
   HOME BUTTON
   ================================================== */

.home-btn {
  position: fixed;

  top: 20px;
  left: 20px;

  z-index: 20;

  font-size: 13px;
}


/* ==================================================
   PAGE
   ================================================== */

.page-wrapper {
  width: min(1100px, 100%);

  margin: 0 auto;

  padding:
    90px
    30px
    80px;
}


/* ==================================================
   HEADER
   ================================================== */

.page-header {
  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  gap: 30px;

  margin-bottom: 70px;
}

.page-title {
  margin: 0;

  font-size: 32px;
  font-weight: 400;
}


/* ==================================================
   LATHER! SUBTITLE
   ================================================== */

.page-subtitle {
  margin: 10px 0 0;

  color: #fff;

  font-family: "Silkscreen", sans-serif;
  font-size: 16px;
  font-weight: 400;

  line-height: 1.4;
}

.lather-link {
  color: #fff;

  font-family: "Silkscreen", sans-serif;
  font-size: 16px;
  font-weight: 400;

  line-height: 1.4;

  text-decoration: none;
}

.lather-link:hover {
  text-decoration: underline;
}


/* ==================================================
   SOCIAL LINKS
   ================================================== */

.external-links {
  display: flex;

  gap: 20px;

  white-space: nowrap;

  font-size: 13px;
}


/* ==================================================
   PHOTO + VIDEO GALLERY
   ================================================== */

.gallery {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  grid-template-areas:
    "photo1 photo1"
    "photo2 photo3"
    "video1 video1";

  gap: 45px 25px;

  align-items: start;
}


/* ==================================================
   PHOTO POSITIONS
   ================================================== */

.photo-1 {
  grid-area: photo1;
}

.photo-2 {
  grid-area: photo2;
}

.photo-3 {
  grid-area: photo3;
}


/* ==================================================
   PHOTOS
   ================================================== */

.photo {
  margin: 0;
}

.photo img {
  display: block;

  width: 100%;
  height: auto;

  cursor: pointer;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.photo img:hover {
  opacity: 0.8;

  transform: scale(0.99);
}


/* ==================================================
   CREDITS
   ================================================== */

.photo figcaption {
  margin-top: 8px;

  color: #777;

  font-size: 9px;

  line-height: 1.4;
}


/* ==================================================
   VIDEO
   ================================================== */

.video-1 {
  grid-area: video1;

  margin: 0;
}

.video-embed {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;
}

.video-embed iframe {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  border: 0;
}


/* ==================================================
   LIGHTBOX
   ================================================== */

.lightbox {
  position: fixed;

  inset: 0;

  z-index: 100;

  display: none;

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

  padding: 30px;

  background: rgba(0, 0, 0, 0.95);
}

.lightbox.active {
  display: flex;
}


/* ==================================================
   ENLARGED PHOTO
   ================================================== */

.lightbox-content {
  width: auto;

  max-width: 1100px;
  max-height: 90vh;

  text-align: center;
}

.lightbox-content img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 80vh;

  margin: 0 auto;
}


/* ==================================================
   LIGHTBOX CREDIT
   ================================================== */

.lightbox-caption {
  margin: 15px 0 0;

  color: #aaa;

  font-size: 10px;
}


/* ==================================================
   CLOSE BUTTON
   ================================================== */

.lightbox-close {
  position: absolute;

  top: 20px;
  right: 25px;

  z-index: 101;

  padding: 0;

  border: 0;

  background: none;

  color: #fff;

  font-family: "Silkscreen", sans-serif;

  font-size: 13px;

  cursor: pointer;
}

.lightbox-close:hover {
  text-decoration: underline;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 700px) {

  .page-wrapper {
    padding:
      75px
      18px
      50px;
  }


  /* HEADER */

  .page-header {
    display: block;

    margin-bottom: 45px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-subtitle {
    font-size: 16px;
  }

  .lather-link {
    font-size: 16px;
  }


  /* SOCIAL LINKS */

  .external-links {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;

    font-size: 11px;
  }


  /* GALLERY */

  .gallery {
    display: block;
  }

  .photo {
    margin-bottom: 40px;
  }

  .photo img {
    width: 100%;
    height: auto;
  }


  /* VIDEO */

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

  .video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
  }


  /* CREDITS */

  .photo figcaption {
    margin-top: 7px;

    font-size: 8px;
  }


  /* LIGHTBOX */

  .lightbox {
    padding: 15px;
  }

  .lightbox-content {
    width: 100%;
  }

  .lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
  }

  .lightbox-close {
    top: 15px;
    right: 18px;

    font-size: 11px;
  }

}

