html { background: var(--bg); }
body { isolation: isolate; background: transparent; }
.group-film {
  position: fixed;
  inset: 0;
  z-index: -1;
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg) url('assets/coffee-poster.jpg') 53% 43% / cover no-repeat;
}
.group-film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 43%;
}
.group-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,10,10,.86), rgba(9,10,10,.68) 43%, rgba(9,10,10,.36) 76%), linear-gradient(0deg, rgba(8,9,9,.5), transparent 60%);
}
.group-film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  opacity: 0;
  transition: opacity .35s;
}
.group-film.reading::before { opacity: .76; }
html[data-theme=light] .group-film::after {
  background: linear-gradient(90deg, rgba(250,250,247,.94), rgba(250,250,247,.83) 45%, rgba(250,250,247,.56) 80%);
}
.hero-bottom p, .hero-kicker { color: var(--fg); }
@media (max-width: 700px) {
  .group-film img { object-position: 54% 40%; }
  .group-film::after { background: linear-gradient(90deg,rgba(8,9,9,.77),rgba(8,9,9,.48)), linear-gradient(0deg,rgba(8,9,9,.36),transparent); }
}
@media (prefers-reduced-motion: reduce) { .group-film::before { transition: none; } }
