#film {
  position: relative;
  isolation: isolate;
  color: #fff3dc;
  background: #2b1c15;
  border-block: 1px solid #806142;
}

#film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #261910f2 4%, #291b12e6 34%, #322016b8 61%, #342218a6),
    url("media/film-vine.webp") center 42% / cover;
}

.film-spread {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding-inline: clamp(24px, 7.7vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(315px, 45vh, 480px);
  grid-template-columns: minmax(0, 1fr) clamp(315px, 45svh, 480px);
  gap: clamp(25px, 5vw, 86px);
  align-items: center;
}

.film-story {
  min-width: 0;
  padding-block: clamp(40px, 6vw, 92px);
}

.film-length {
  display: flex;
  gap: .75em;
  align-items: center;
  font: 600 .68rem/1.5 var(--sans, sans-serif);
  color: #e6c699;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.film-length::before {
  content: "";
  width: clamp(20px, 3.2vw, 52px);
  height: 1px;
  background: currentColor;
}

#film-title {
  font: 400 clamp(50px, 5.2vw, 83px)/1.01 var(--serif, Georgia, serif);
  letter-spacing: -.038em;
  margin: clamp(18px, 2.4vw, 36px) 0 0;
}

#film-title em {
  color: #e7c39a;
  font-weight: inherit;
}

.film-intro {
  color: #f0dfc9;
  font-size: clamp(16px, 1.24vw, 20px);
  max-width: 39ch;
  line-height: 1.62;
  margin: clamp(16px, 2vw, 30px) 0;
}

.film-sound {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 46px;
  padding: 2px 6px 2px 0;
  border: 0;
  color: #fff1d8;
  background: transparent;
  font: 600 .97rem/1.3 var(--sans, sans-serif);
}

.film-sound[hidden] { display: none; }

.film-symbol {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #d5b17f;
  border-radius: 50%;
}

.film-symbol::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

.film-sound[data-audible="true"] .film-symbol::before {
  margin: 0;
  width: 14px;
  height: 13px;
  border: 0;
  background: currentColor;
  clip-path: polygon(0 33%, 25% 33%, 64% 0, 64% 100%, 25% 67%, 0 67%);
}

.film-sound:hover .film-symbol { background-color: #825932; }
.film-enquiry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: .9rem;
  color: #ead4b5;
  text-decoration-color: #ae8a66;
  text-underline-offset: .27em;
}

#workshop-film {
  display: block;
  width: 100%;
  height: auto;
  align-self: center;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #251b15;
  color-scheme: dark;
}

#film :is(video, button, a):focus-visible {
  outline: 2px solid #ffdc92;
  outline-offset: 3px;
}

@media (min-width: 701px) and (max-width: 980px) {
  .film-spread {
    grid-template-columns: minmax(0, 1fr) min(42vw, 45vh);
    grid-template-columns: minmax(0, 1fr) min(42vw, 45svh);
    padding-inline: 5vw;
    gap: 4vw;
  }
}

@media (max-width: 700px) {
  .film-spread { display: block; padding: 0; }
  .film-story { padding: clamp(36px, 9vw, 58px) clamp(20px, 6.4vw, 34px) 21px; }
  #film-title { font-size: clamp(41px, 10.3vw, 62px); }
  .film-intro { max-width: 42ch; margin: 16px 0; }
  .film-sound { min-height: 44px; }
  .film-enquiry { margin-top: 0; }
  #film::before {
    background-position: left top;
    background-size: auto, 110% auto;
    background-repeat: no-repeat;
  }
  #workshop-film { max-width: 480px; margin-inline: auto; }
}

@media (min-width: 600px) and (max-height: 520px) and (orientation: landscape) {
  .film-spread {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(35vw, 50vh);
    gap: 22px;
    padding-inline: 5vw;
  }
  .film-story { padding: 24px 0; }
  #film-title { font-size: clamp(36px, 5vw, 52px); margin-top: 12px; }
  .film-intro { margin: 12px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .film-symbol { transition: background-color .25s ease; }
  #film.film-visible .film-length::before {
    animation: draw-film-rule .85s ease-out both;
    transform-origin: left;
  }
  @keyframes draw-film-rule { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
}
