.brand-film-entry {
  position: relative;
  display: grid;
  width: min(100%, var(--max));
  margin-inline: auto;
  grid-template-columns: minmax(320px, 0.86fr) minmax(480px, 1.14fr);
  gap: clamp(42px, 6vw, 100px);
  align-items: center;
  overflow: hidden;
  padding: 52px clamp(28px, 5.5vw, 104px);
  border-block: 1px solid #e6ebef;
  color: #101820;
  background:
    linear-gradient(108deg, transparent 49.85%, rgba(23, 40, 56, 0.05) 50%, transparent 50.15%) 0 0 / 150px 100%,
    #ffffff;
}

.brand-film-copy,
.brand-film-poster {
  position: relative;
  z-index: 1;
}

.brand-film-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: #647384;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-film-colors {
  display: flex;
  gap: 4px;
}

.brand-film-colors b {
  display: block;
  width: 14px;
  height: 3px;
  background: #00a2e9;
}

.brand-film-colors b:nth-child(2) { background: #e40082; }
.brand-film-colors b:nth-child(3) { background: #ed5c25; }
.brand-film-colors b:nth-child(4) { background: #fdd100; }
.brand-film-colors b:nth-child(5) { background: #6b38a7; }

.brand-film-copy h2 {
  margin: 0;
  color: var(--section-title-accent, #ef6a24);
  font-size: var(--type-display, 32px);
  font-weight: var(--weight-display, 600);
  line-height: var(--leading-display, 1.25);
  letter-spacing: -0.02em;
}

.brand-film-copy > p {
  max-width: 500px;
  margin: 19px 0 0;
  color: #586879;
  font-size: 14px;
  line-height: 1.72;
}

.brand-film-process {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.2vw, 18px);
  margin-top: 24px;
  color: #1e2c39;
  font-size: 11px;
  font-weight: 700;
}

.brand-film-process i {
  color: #8a99a7;
  font-style: normal;
}

.brand-film-poster {
  width: min(100%, 720px);
  justify-self: end;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe6eb;
  background: #000;
  clip-path: none;
  box-shadow: 0 24px 64px rgba(20, 34, 48, 0.16);
  cursor: pointer;
  font: inherit;
}

.brand-film-poster > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.brand-film-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 5, 9, 0.74), rgba(2, 5, 9, 0.04) 70%);
}

.brand-film-play {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px 8px 8px;
  color: #fff;
  background: rgba(5, 10, 17, 0.66);
  backdrop-filter: blur(10px);
}

.brand-film-play > i {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  transition: transform 200ms ease, background-color 200ms ease;
}

.brand-film-play > i::after {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  content: "";
}

.brand-film-play > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.brand-film-play small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.brand-film-poster:hover > img {
  transform: scale(1.025);
}

.brand-film-poster:hover .brand-film-play > i,
.brand-film-poster:focus-visible .brand-film-play > i {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.12);
}

.brand-film-poster:focus-visible,
.brand-film-close:focus-visible {
  outline: 2px solid #fdd100;
  outline-offset: 4px;
}

.brand-film-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 74px clamp(20px, 5vw, 96px) 42px;
  background: rgba(2, 5, 9, 0.96);
  backdrop-filter: blur(18px);
}

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

.brand-film-player {
  width: min(1500px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.75);
}

.brand-film-player video {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-film-close {
  position: absolute;
  top: 24px;
  right: clamp(20px, 5vw, 96px);
  padding: 4px;
  border: 0;
  color: #cbd2db;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.brand-film-close span {
  margin-left: 10px;
  font-size: 20px;
  font-weight: 400;
}

body.brand-film-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .brand-film-entry {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .brand-film-copy {
    max-width: 680px;
  }

  .brand-film-poster {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .brand-film-entry {
    gap: 30px;
    padding: 44px 20px;
  }

  .brand-film-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand-film-process {
    flex-wrap: wrap;
  }

  .brand-film-poster {
    clip-path: none;
  }

  .brand-film-play > i {
    width: 42px;
    height: 42px;
  }

  .brand-film-modal {
    padding: 64px 0 0;
  }

  .brand-film-player {
    width: 100%;
  }

  .brand-film-close {
    top: 20px;
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-film-poster > img,
  .brand-film-play > i {
    transition: none;
  }
}
