/* =========================================================
   RESET
========================================================= */

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

html {
  font-family: Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;

  background: #f3f3f0;
  color: #111;
}

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

button {
  font: inherit;
}

img {
  display: block;
}


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

.page-fade {
  animation: fadeIn 0.48s ease both;

  transition:
    opacity 0.48s ease;
}

.page-fade.is-leaving {
  animation: none;

  opacity: 0;
}


@keyframes fadeIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


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

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  height: 62px;

  padding:
    18px
    20px;

  display: flex;

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

  background: #f3f3f0;

  z-index: 1000;
}


.logo {
  font-size: 19px;

  line-height: 1;

  font-weight: 700;

  letter-spacing: -0.035em;
}


.nav {
  display: flex;

  align-items: center;

  gap: 31px;

  font-size: 15px;

  line-height: 1;
}


.nav a {
  transition:
    opacity 0.2s ease;
}


.nav a:hover {
  opacity: 0.4;
}


.nav a.active {
  text-decoration: underline;

  text-underline-offset: 5px;
}


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

.home-body {
  overflow-x: hidden;
}


.minimal-home {
  width: 100%;

  min-height: 100vh;

  padding:
    88px
    30px
    20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 18px;
}


.home-hero-link {
  width: 100%;

  flex: 1;

  min-height: 0;

  display: flex;

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


.home-hero-image {
  width: min(74vw, 1120px);

  height: auto;

  max-height: 66vh;

  object-fit: contain;

  transition:
    transform 0.4s ease,
    filter 0.3s ease;
}


.home-hero-link:hover .home-hero-image {
  transform: scale(0.995);

  filter: brightness(0.95);
}


.home-footer {
  width: 100%;

  padding-top: 5px;

  display: flex;

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

  font-size: 13px;

  font-weight: 500;

  line-height: 1;
}


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

.info-page {
  width: min(
    1300px,
    calc(100% - 70px)
  );

  min-height: 100vh;

  margin: 0 auto;

  padding:
    108px
    0
    70px;

  display: grid;

  grid-template-columns:
    minmax(340px, 0.88fr)
    minmax(430px, 1.12fr);

  gap: 90px;

  align-items: start;
}


.portrait-area {
  display: flex;

  justify-content: center;

  align-items: flex-start;
}


.portrait {
  width: 72%;

  max-width: 450px;

  height: auto;

  object-fit: contain;
}


.info-copy {
  width: 100%;

  max-width: 590px;
}


.practice-line {
  margin-bottom: 35px;

  font-size: 15px;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing: -0.01em;
}


.bio {
  max-width: 550px;
}


.bio p {
  font-size: 20px;

  line-height: 1.35;

  letter-spacing: -0.025em;
}


.bio p + p {
  margin-top: 27px;
}


.details {
  width: 100%;

  margin-top: 65px;

  border-top:
    1px solid
    #111;
}


.row {
  display: grid;

  grid-template-columns:
    120px
    1fr;

  gap: 15px;

  padding:
    9px
    0;

  border-bottom:
    1px solid
    #111;

  font-size: 11px;

  line-height: 1.25;

  text-transform: uppercase;
}


.label {
  opacity: 0.42;
}


.slash {
  opacity: 0.4;
}


/* =========================================================
   MOVING IMAGE PAGE
   SMALLER / MORE BREATHING ROOM
========================================================= */

.moving-page {
  width: min(
    1160px,
    calc(100% - 100px)
  );

  margin: 0 auto;

  padding:
    105px
    0
    130px;
}


/* =========================================================
   FILM PROJECT
========================================================= */

.film-project {
  --project-color: #111;

  position: relative;

  border-top:
    1px solid
    rgba(17, 17, 17, 0.18);

  scroll-margin-top: 80px;
}


.film-project:last-child {
  border-bottom:
    1px solid
    rgba(17, 17, 17, 0.18);
}


.film-red {
  --project-color: #df5547;
}


.film-pink {
  --project-color: #e66ba9;
}


.film-blue {
  --project-color: #37a5d8;
}


.film-black {
  --project-color: #111;
}


.film-project::before {
  content: "";

  position: absolute;

  top: -1px;
  left: 0;

  width: 72px;
  height: 3px;

  background:
    var(--project-color);
}


/* =========================================================
   SUMMARY / TITLE
========================================================= */

.film-summary {
  min-height: 64px;

  padding:
    20px
    0
    19px;

  display: flex;

  justify-content: space-between;
  align-items: baseline;

  gap: 25px;

  list-style: none;

  color:
    var(--project-color);

  cursor: pointer;
}


.film-summary::-webkit-details-marker {
  display: none;
}


.film-title {
  font-size: 17px;

  line-height: 1.1;

  font-weight: 600;

  letter-spacing: -0.025em;
}


.film-summary-right {
  display: flex;

  align-items: center;

  gap: 30px;
}


.film-year {
  font-size: 13px;

  font-weight: 500;
}


.film-plus {
  position: relative;

  width: 13px;
  height: 13px;

  flex-shrink: 0;
}


.film-plus::before,
.film-plus::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 12px;
  height: 1.5px;

  background:
    var(--project-color);

  transform:
    translate(-50%, -50%);
}


.film-plus::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);
}


.film-project[open]
.film-plus::after {
  transform:
    translate(-50%, -50%)
    rotate(0);
}


/* =========================================================
   CONTENT
========================================================= */

.film-project-content {
  padding:
    0
    0
    82px;
}


/* =========================================================
   FILM GALLERY
========================================================= */

.film-gallery {
  display: grid;

  grid-template-columns:
    minmax(0, 1.85fr)
    minmax(190px, 0.58fr);

  gap: 16px;

  align-items: start;
}


/* MASTER STILL */

.film-master {
  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #e8e8e5;
}


.master-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

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


.master-image.switching {
  opacity: 0;

  transform: scale(0.996);
}


/* SIDE STILLS */

.film-side-stills {
  display: flex;

  flex-direction: column;

  gap: 10px;
}


.still-button {
  display: block;

  width: 100%;

  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;

  overflow: hidden;
}


.still-button img {
  width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;

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


.still-button:hover img {
  opacity: 0.75;

  transform: scale(0.995);
}


/* =========================================================
   FILM META
========================================================= */

.film-meta {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding:
    9px
    0;

  margin-bottom: 36px;

  border-bottom:
    1px solid
    rgba(17, 17, 17, 0.18);

  font-size: 9px;

  line-height: 1;

  text-transform: uppercase;
}


/* =========================================================
   FILM COPY
========================================================= */

.film-copy-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(300px, 0.92fr);

  gap: 68px;

  align-items: start;
}


.section-label {
  margin-bottom: 11px !important;

  font-size: 9px !important;

  font-weight: 600 !important;

  line-height: 1 !important;

  text-transform: uppercase;

  opacity: 0.4;
}


/* SYNOPSIS */

.synopsis {
  max-width: 560px;
}


.synopsis p {
  font-size: 16px;

  line-height: 1.42;

  letter-spacing: -0.018em;
}


.synopsis p + p {
  margin-top: 16px;
}


.synopsis .section-label + p {
  margin-top: 0;
}


/* CREDITS */

.credits {
  width: 100%;

  max-width: 480px;
}


.credit-row {
  display: grid;

  grid-template-columns:
    140px
    1fr;

  gap: 16px;

  padding:
    6px
    0;

  border-bottom:
    1px solid
    rgba(17, 17, 17, 0.14);

  font-size: 9px;

  line-height: 1.35;

  text-transform: uppercase;
}


.credit-row:first-of-type {
  border-top:
    1px solid
    rgba(17, 17, 17, 0.14);
}


.credit-row span:first-child {
  opacity: 0.42;
}


/* =========================================================
   AWARDS
========================================================= */

.recognition {
  margin-top: 32px;

  padding-top: 12px;

  border-top:
    1px solid
    rgba(17, 17, 17, 0.22);
}


.recognition p:not(.section-label) {
  font-size: 11px;

  line-height: 1.45;
}


.recognition p + p {
  margin-top: 6px;
}


.award {
  font-weight: 700;

  font-style: italic;
}


.selection {
  font-weight: 400;

  font-style: normal;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .header {
    font-size: 13px;
  }


  .nav {
    gap: 20px;
  }


  .moving-page {
    width: calc(100% - 60px);
  }


  .film-gallery {
    grid-template-columns:
      minmax(0, 1.65fr)
      minmax(175px, 0.6fr);
  }


  .film-copy-grid {
    gap: 45px;
  }

}


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

@media (max-width: 800px) {

  .header {
    position: relative;

    height: auto;

    padding: 17px;

    flex-direction: column;

    gap: 18px;
  }


  .nav {
    flex-wrap: wrap;

    gap:
      12px
      18px;
  }


  .minimal-home {
    min-height: 100svh;

    padding:
      30px
      16px
      18px;
  }


  .home-hero-image {
    width: 100%;

    max-height: 61vh;
  }


  .home-footer {
    font-size: 10px;
  }


  .info-page {
    width: calc(100% - 34px);

    display: flex;

    flex-direction: column;

    gap: 45px;

    padding:
      45px
      0
      50px;
  }


  .portrait-area {
    justify-content: flex-start;
  }


  .portrait {
    width: 72%;

    max-width: 440px;
  }


  .info-copy {
    max-width: none;
  }


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


  .moving-page {
    width: calc(100% - 30px);

    padding:
      45px
      0
      90px;
  }


  .film-title {
    font-size: 16px;
  }


  .film-summary-right {
    gap: 17px;
  }


  .film-gallery {
    grid-template-columns: 1fr;
  }


  .film-side-stills {
    display: grid;

    grid-template-columns:
      repeat(3, 1fr);

    gap: 10px;
  }


  .film-copy-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .synopsis,
  .credits {
    max-width: none;
  }

}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 500px) {

  .home-footer {
    font-size: 9px;
  }


  .portrait {
    width: 90%;
  }


  .film-title {
    max-width: 75%;

    font-size: 14px;
  }


  .film-year {
    font-size: 12px;
  }


  .synopsis p {
    font-size: 16px;
  }


  .credit-row {
    grid-template-columns:
      115px
      1fr;
  }

}