/* The Style Notes — first-screen campaign film (2026-11-12).
   Frames: ChatGPT editorial images (_tools/gen_editorial.py → make_film_assets.py).
   While the Higgsfield film is being made, the frames cut like a campaign film (film.js);
   once assets/film/film.mp4 exists, make_home_v2.py writes a <video> instead. */
:root { --sn-red: #b5121b; }

.sn-film {
  position: relative; height: 100vh; height: 100svh; min-height: 520px;
  overflow: hidden; background: #14100d; color: #fff;
}
/* a soft shade under the white header */
.sn-film::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 24%; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(10, 8, 6, .44), rgba(10, 8, 6, 0));
}
/* object-position 35 %: on short wide screens more is cut from the bottom, so the magazine page in the film
   (and the heads in the full frames) stay clear of the header — see _tools/make_film_video.py */
.sn-film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
/* wide screens: film.js paints the film here (covers and portraits fill the height under the header) */
.sn-film-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; pointer-events: none; visibility: hidden; }
.sn-film-c.on { visibility: visible; }

.sn-film-slides { position: absolute; inset: 0; }
.fs { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.fs.on { visibility: visible; }
.fs img { display: block; width: 100%; height: 100%; }
/* full-bleed frames: a slow push like a camera settling */
.fs-land img { object-fit: cover; object-position: 50% 42%; }
.fs-land.on img { animation: fsPush 2.8s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes fsPush { from { transform: scale(1.08); } to { transform: scale(1); } }
/* covers: the magazine page stands in the middle of the dark screen */
.fs-cover { display: grid; place-items: center; padding: calc(var(--nav-h, 76px) + 18px) 0 40px; box-sizing: border-box; }
.fs-cover img { width: auto; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.fs-cover.on img { animation: fsSettle 2.8s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes fsSettle { from { transform: scale(1.035); } to { transform: none; } }
/* tall screens (phones): every frame fills the screen */
@media (max-aspect-ratio: 4 / 5) {
  .fs-cover { padding: 0; }
  .fs-cover img { width: 100%; height: 100%; box-shadow: none; }
}

.sn-film-scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4); pointer-events: none;
}
.sn-film-scroll i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.sn-film-scroll i::after { content: ''; position: absolute; left: 0; top: -34px; width: 1px; height: 34px; background: #fff; animation: fsDrop 2.2s ease-in-out infinite; }
@keyframes fsDrop { 60%, 100% { top: 34px; } }

@media (prefers-reduced-motion: reduce) {
  .fs.on img { animation: none; }
  .sn-film-scroll i::after { animation: none; }
}
