/* --------------------------------------------------
   Film Page Header
-------------------------------------------------- */

.interior-header {
  position: absolute;
  background: transparent;
}


/* --------------------------------------------------
   Film Page Title
-------------------------------------------------- */

.films-page-title {
  padding: 190px 0 95px;

  background: var(--warm-white);
}

.films-page-title .section-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.films-title {
  margin: 0;

  color: var(--ink);
  text-align: center;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(72px, 8vw, 118px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;

  cursor: default;

  transition:
    transform 0.45s ease,
    letter-spacing 0.45s ease;
}

.films-title:hover {
  transform: scale(1.045);
  letter-spacing: -0.04em;
}


/* --------------------------------------------------
   Film Library Introduction
-------------------------------------------------- */

.films-library-section {
  padding: 120px 0 135px;
}

.films-section-heading {
  max-width: 760px;
  margin: 0 auto 75px;

  text-align: center;
}

.films-section-heading .with-line {
  justify-content: center;
}

.films-section-heading .with-line::before {
  content: "";

  width: 74px;
  height: 1px;

  background: var(--line-dark);
}

.films-section-heading h2 {
  margin: 22px 0 20px;

  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
}

.films-section-heading p {
  max-width: 620px;
  margin: 0 auto;

  color: var(--soft-ink);

  font-size: 15px;
  line-height: 1.9;
}


/* --------------------------------------------------
   Film Demo
-------------------------------------------------- */

.film-demo {
  position: relative;

  max-width: 1080px;
  margin: 0 auto;

  padding: 34px 34px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background:
    linear-gradient(
      135deg,
      rgba(250, 248, 243, 0.38),
      rgba(255, 255, 255, 0.82)
    );
}

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

  position: absolute;
  top: 28px;
  bottom: 28px;

  width: 1px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--line) 16%,
      var(--line) 84%,
      transparent
    );
}

.film-demo::before {
  left: 16px;
}

.film-demo::after {
  right: 16px;
}


/* --------------------------------------------------
   YouTube Video
-------------------------------------------------- */

.film-video-frame {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #111;

  box-shadow:
    0 24px 55px rgba(35, 33, 30, 0.12);

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.film-video-frame:hover {
  transform: translateY(-3px);

  box-shadow:
    0 30px 65px rgba(35, 33, 30, 0.16);
}

.film-video-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}


/* --------------------------------------------------
   Film Information
-------------------------------------------------- */

.film-demo-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;

  padding: 38px 12px 42px;
}

.film-demo-number {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-dark);
  border-radius: 50%;

  color: var(--soft-ink);

  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.film-demo-details .eyebrow {
  margin-bottom: 8px;
}

.film-demo-details h3 {
  margin: 0;

  color: var(--ink);

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
}


/* --------------------------------------------------
   Contact Invitation
-------------------------------------------------- */

.films-contact-section {
  padding: 135px 0;
}

.films-contact-inner {
  max-width: 900px;

  text-align: center;
}

.films-contact-inner h2 {
  margin: 24px auto 22px;

  font-size: clamp(43px, 5vw, 67px);
  line-height: 1.08;
}

.films-contact-inner p {
  max-width: 650px;
  margin: 0 auto 34px;

  color: var(--soft-ink);

  font-size: 15px;
  line-height: 1.9;
}


/* --------------------------------------------------
   Tablet
-------------------------------------------------- */

@media (max-width: 1100px) {

  .films-page-title {
    padding: 175px 0 85px;
  }

  .films-title {
    font-size: 84px;
  }

  .films-library-section {
    padding: 105px 0 120px;
  }

  .film-demo {
    max-width: 940px;
  }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 760px) {

  .interior-header {
    position: relative;
  }


  .films-page-title {
    padding: 70px 0 60px;
  }


  .films-title {
    font-size: 64px;
  }


  .films-library-section {
    padding: 85px 0 95px;
  }


  .films-section-heading {
    margin-bottom: 55px;
  }


  .films-section-heading h2 {
    font-size: 42px;
  }


  .film-demo {
    padding: 20px 20px 0;
  }


  .film-demo::before {
    left: 8px;
  }


  .film-demo::after {
    right: 8px;
  }


  .film-video-frame:hover {
    transform: none;
  }


  .film-demo-info {
    gap: 18px;

    padding: 30px 4px 34px;
  }


  .film-demo-number {
    width: 48px;
    height: 48px;
  }


  .film-demo-details h3 {
    font-size: 40px;
  }


  .films-contact-section {
    padding: 100px 0;
  }


  .films-contact-inner h2 {
    font-size: 42px;
  }

}


/* --------------------------------------------------
   Small Phones
-------------------------------------------------- */

@media (max-width: 480px) {

  .films-page-title {
    padding: 58px 0 50px;
  }


  .films-title {
    font-size: 52px;
  }


  .films-section-heading .with-line::before,
  .films-section-heading .with-line::after {
    width: 35px;
  }


  .film-demo {
    padding: 12px 12px 0;
  }


  .film-demo::before,
  .film-demo::after {
    display: none;
  }


  .film-demo-info {
    grid-template-columns: 42px 1fr;
    gap: 15px;

    padding: 25px 2px 28px;
  }


  .film-demo-number {
    width: 42px;
    height: 42px;

    font-size: 9px;
  }


  .film-demo-details .eyebrow {
    font-size: 9px;
  }


  .film-demo-details h3 {
    font-size: 35px;
  }


  .films-contact-inner h2 {
    font-size: 36px;
  }

}