/* home-tiles-2026-12-03.css. Ben's "The Work" tile videos (README, Slack file
   F0CP4112WF4, 3 Dec 2026). CSS from the README; the cursor colours use the
   page's own --paper and --dark tokens as the README asks. Full colour: the
   optional .tiles-bw mode is kept but off (no element carries the class). */

/* The first line of homepage-finish.css (a file the live site loads, so not
   edited) hides #work until its footage arrives. The footage is here, so this
   shows the section again; html body #work outranks that #work !important rule.
   #work-testimonials and the other hidden sections stay hidden. */
html body #work{display:block!important}
.tiles-bw .tile-video { filter: grayscale(1); transition: filter .6s ease; }
.tiles-bw .film-frame.is-active .tile-video { filter: grayscale(0); }

/* Cursor circle, desktop only (the element is created by the script) */
@media (hover: hover) and (pointer: fine) {
  .film-frame { cursor: none; }
}
.tile-cursor {
  position: fixed; left: 0; top: 0; z-index: 9999;
  pointer-events: none; will-change: transform;
}
.tile-cursor span {
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--paper, #F0EFE9);
  color: var(--dark, #141716);
  font-family: inherit; font-size: 13px; letter-spacing: .04em;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.tile-cursor.is-visible span { transform: scale(1); }

/* The tile video fills its frame under the existing parallax rule
   (.film-frame video: inset -5% 0, height 110%, object-fit cover). */
.film-frame .tile-video { display: block; }

/* Reduced motion: posters only, nothing animates */
@media (prefers-reduced-motion: reduce) {
  .tiles-bw .tile-video { filter: none; transition: none; }
  .film-frame { cursor: auto; }
}

/* The prototype tile captions ("Benjamin Hamlett / Elite sport" and so on)
   contradict Ben's new labels; his copy is label and question only. */
html body #work .tile-caption{display:none!important}
