.fx-page .tag-hero h1 { line-height: .83; }

.build-up-machine .fx-plate::after {
  background:
    repeating-linear-gradient(145deg, transparent 0 34px, rgb(198 207 255 / 34%) 35px 36px, transparent 37px 58px),
    var(--noise) center / 185px;
  opacity: .42;
}

.loop-machine .fx-plate::after {
  background:
    repeating-radial-gradient(ellipse at 70% 53%, transparent 0 33px, rgb(198 207 255 / 34%) 34px 35px, transparent 36px 53px),
    var(--noise) center / 185px;
  opacity: .48;
}

.loop-machine .tag-hero-art { justify-items: center; }
.loop-machine .fx-editor { width: min(100%, 460px); aspect-ratio: 810 / 920; overflow: hidden; }
.loop-machine .fx-editor img { height: 100%; object-fit: cover; }

.fx-demo { align-items: center; }
.fx-intro { max-width: 36ch; margin: 24px 0 0; font-size: 17px; line-height: 1.5; }

.fx-video { margin: 0; min-width: 0; }
.fx-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--tag-rule);
}

.fx-video-play, .fx-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fx-video-play { display: grid; place-items: center; }
.fx-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }

.fx-play-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(52px, 7vw, 80px);
  aspect-ratio: 1;
  border: 1px solid white;
  background: var(--blue);
  color: white;
  transition: background-color .2s, color .2s;
}

.fx-play-icon::before {
  content: "";
  border-block: 9px solid transparent;
  border-left: 14px solid currentColor;
  transform: translateX(2px);
}

.fx-video-play:is(:hover, :focus-visible) .fx-play-icon { background: var(--paper); color: var(--ink); }
.fx-video figcaption { margin-top: 13px; text-align: right; }
.fx-video figcaption a { text-underline-offset: 4px; }

.fx-controls h3 { margin: 0 0 14px; color: var(--ice); font-size: 19px; }
.fx-controls dl { margin: 0; border-top: 1px solid var(--line); }
.fx-controls dl > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.fx-controls dt { margin-bottom: 5px; font-weight: 750; }
.fx-controls dd { margin: 0; color: rgb(235 233 227 / 78%); line-height: 1.46; }

.fx-related {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px var(--tag-gutter);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.fx-related h2 { font-size: clamp(32px, 4vw, 56px); line-height: .92; }
.fx-related p { margin: 10px 0 0; color: var(--ice); line-height: 1.4; }
.fx-related .btn { flex: none; }

@media (max-width: 640px) {
  .loop-machine .fx-editor { width: min(85%, 460px); }
  .fx-related { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-play-icon { transition: none; }
}
