/* The default layout is also the no-script reading order. */
.edition-inicio {
  overflow-x: clip;
}
#abertura {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: clamp(280px, 41vw, 860px);
  background: #16181a;
}
.cover-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
#abertura::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(75deg, rgb(7 9 11 / 68%), transparent 51%);
  pointer-events: none;
}
.opening-copy {
  padding-block: clamp(32px, 4.5vw, 74px);
}
.opening-copy h1 {
  font: 700 clamp(54px, 6.6vw, 112px)/.88 var(--display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.opening-copy em {
  display: block;
  color: var(--red);
}
.opening-copy p {
  margin-top: 15px;
  color: var(--paper);
  font-size: clamp(14px, 1.12vw, 18px);
}
@media (max-width: 700px) {
  #abertura { min-height: clamp(306px, 53vw, 360px); }
  #abertura::after {
    background: linear-gradient(0deg, rgb(7 9 11 / 84%), transparent 48%);
  }
  .opening-copy { padding-block: 18px; }
  .opening-copy h1 { font-size: clamp(34px, 8.7vw, 54px); }
  .opening-copy em { display: inline; }
  .opening-copy p { margin-top: 6px; font-size: clamp(13px, 3.6vw, 14px); }
}
#edicao {
  position: relative;
  isolation: isolate;
  margin: 0 calc(-1 * var(--gutter));
  background: #101113;
  color: #f6f5f2;
}
.film-pin.rank-deck {
  position: relative;
  overflow: clip;
  padding: clamp(18px, 3.2svh, 45px) var(--gutter);
  border: 0;
  background: radial-gradient(
    ellipse at 76% 45%,
    #352527 0%,
    #181719 34%,
    #101113 68%
  );
}
.film-guide,
.slide-rail,
.slide-foot,
.film-control,
.film-captions small {
  font: 600 10px/1.5 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.film-guide,
.film-control,
.slide-rail,
.slide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.film-guide {
  color: #b9b5b7;
  border-bottom: 1px solid #464144;
  padding-bottom: 14px;
}
.film-guide span:first-child:before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 4px;
  margin-right: 10px;
  background: var(--red);
  transform: skewX(-30deg);
}
.film-body {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 4%;
  flex: 1;
  min-height: 0;
}
.film-titles h2 {
  font: 700 clamp(60px, 7vw, 132px)/0.85 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  margin: 18px 0 28px;
}
.film-titles h2 em {
  color: var(--red);
}
.film-captions small {
  color: #fca3aa;
}
.film-captions h3 {
  font-size: clamp(22px, 2.5vw, 39px);
  margin: 6px 0 2px;
}
.film-gate {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 16px;
  justify-items: center;
}
.film-axis {
  position: absolute;
  inset: 4% -12%;
  pointer-events: none;
  opacity: 0.32;
  background: repeating-linear-gradient(
    148deg,
    transparent 0 69px,
    #ffffff22 70px 71px
  );
}
.film-card {
  display: flex;
  position: relative;
  flex-direction: column;
  width: min(94%, 66svh, 740px);
  padding: 9px 11px 6px;
  border: 1px solid #60595a;
  background: #19191c;
  color: #e8e5e7;
  border-radius: 5px;
  box-shadow: 0 24px 40px #0006;
  transform-origin: 50% 60%;
}
.film-card img {
  width: 100%;
  height: clamp(120px, 40svh, 450px);
  object-fit: contain;
  background: #101113;
}
.slide-rail,
.slide-foot {
  padding: 4px;
  font-size: 9px;
}
.slide-rail {
  border-bottom: 1px solid #38383a;
  margin-bottom: 7px;
}
.slide-rail b {
  color: #ff9aa4;
}
.slide-foot b {
  font-size: 17px;
}
.film-control {
  border-top: 1px solid #464144;
  padding-top: 10px;
  justify-content: start;
}
.film-control a,
.film-control button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.film-control button {
  background: transparent;
  border: 1px solid #555056;
  border-radius: 50%;
  width: 44px;
  font-size: 19px;
}
.film-index {
  color: #ff9aa4;
  white-space: nowrap;
}
.film-meter {
  position: relative;
  flex: 1;
  height: 2px;
  background: #433c40;
  margin: 0 12px;
}
.film-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform-origin: left;
}
.film-ready .film-pin {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.film-ready .film-gate {
  display: grid;
  align-items: center;
  perspective: 1100px;
}
.film-ready .film-card {
  grid-area: 1/1;
}
.film-ready .film-card:not(.is-current) {
  pointer-events: none;
}
.film-scrub .film-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  max-height: 1100px;
}
.film-static .film-pin {
  min-height: min(78svh, 760px);
}
.film-static .film-card:not(.is-current) {
  display: none;
}
@media (min-width: 761px) {
  .film-titles {
    padding-bottom: 8px;
  }
}
@media (max-width: 760px) {
  .film-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
  }
  .film-titles h2 {
    font-size: clamp(38px, 10vw, 65px);
    line-height: 0.97;
    margin: 8px 0;
  }
  .film-titles h2 br {
    display: none;
  }
  .film-titles h2 em:before {
    content: " ";
  }
  .film-titles .folio {
    font-size: 8px;
  }
  .film-captions h3 {
    font-size: 23px;
    margin: 2px 0;
  }
  .film-captions small {
    font-size: 8px;
  }
  .film-captions .textlink {
    min-height: 32px;
  }
  .film-card {
    width: min(85%, 48svh);
    padding: 5px 7px;
  }
  .film-card img {
    height: clamp(120px, 29svh, 295px);
  }
  .film-guide {
    font-size: 8px;
    padding-bottom: 8px;
  }
  .film-control {
    gap: 7px;
    font-size: 8px;
  }
  .film-meter {
    margin: 0 3px;
  }
  .film-gate {
    order: -1;
  }
  .film-static .film-body {
    padding: 16px 0;
  }
}
@media (max-height: 520px) {
  .film-card img {
    height: 130px;
  }
  .film-titles h2 {
    font-size: 38px;
  }
}
/* The edition's one-shot entry animation must not own the scrubbed transform. */
#edicao .film-card[data-rank] {
  animation: none;
}
.film-scrub .film-gate {
  clip-path: inset(-20% -12% -15% -10%);
}
.film-scrub .film-captions {
  display: grid;
}
.film-scrub .film-captions > [data-caption] {
  grid-area: 1/1;
}
@media (max-width: 760px) {
  .film-scrub .film-gate {
    clip-path: inset(-9% -4% -3% -4%);
  }
}
