.linea-home { scroll-behavior: auto; }
.linea-home #nav {
  transition: opacity 240ms cubic-bezier(.22, 1, .36, 1), transform 270ms cubic-bezier(.22, 1, .36, 1),
    background-color 240ms ease;
}
.linea-home.linea-film-gated #nav {
  opacity: 0; visibility: hidden; transform: translateY(-105%); pointer-events: none;
}
.linea-home:not(.linea-film-ended) #nav { background: #151512dd !important; border-bottom-color: #ffffff24; }
.linea-home:not(.linea-film-ended) :is(#scroll-progress, #back-to-top, #edit-mode-toggle, #admin-entry-btn) { visibility: hidden; }
.linea-film-edition #hero.hero-scrolly { background: #12120f; }
.linea-film-edition #hero.hero-scrolly::after { display: none; }
.linea-film-edition #hero.hero-scrolly.scrolly-on { height: 350vh; height: 350svh; }
.linea-film-edition #hero .hero-sticky { height: 100vh; height: 100svh; background: #12120f; }
.linea-film-edition #hero .hero-bg {
  inset: 0; width: 100%; height: 100%; transform: none;
  background: #12120f url('/videos/linea-premiere-wide.jpg') center / cover no-repeat;
}
.linea-film-edition #hero.hero-portrait .hero-bg {
  background-image: url('/videos/linea-premiere-tall.jpg');
}
.linea-film-edition #hero .hero-video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: none; filter: none; transition: none;
}
#hero .film-opening-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #10100e; opacity: .31;
}
.linea-film-edition #hero .film-opening-title {
  position: absolute; z-index: 2; inset: 0; display: grid; place-items: center;
  margin: 0; padding-inline: 3vw; pointer-events: none; white-space: nowrap;
  font: 900 clamp(100px, 28vw, 400px)/.82 var(--linea-display);
  color: #f5efe3; letter-spacing: .007em; text-shadow: 0 4px 40px #110c0b35;
}
.linea-home #hero.scrolly-on .film-opening-shade { animation: film-open-light 1300ms cubic-bezier(.33, 0, .28, 1) both; }
.linea-home #hero.scrolly-on .film-opening-title { animation: film-open-title 1480ms cubic-bezier(.38, 0, .26, 1) both; }
@keyframes film-open-light {
  0%, 13% { opacity: .97; }
  100% { opacity: 0; }
}
@keyframes film-open-title {
  0%, 22% { opacity: 1; }
  100% { opacity: 0; }
}
.linea-film-edition #hero .hero-outro { background: var(--film-paper); z-index: 3; }
.film-skip {
  position: absolute; z-index: 4; top: 7px; left: var(--film-gutter);
  background: #fbf0e1; color: #231c16; padding: 9px 13px; border-radius: 4px;
  clip-path: inset(50%); opacity: 0;
}
.film-skip:focus-visible {
  clip-path: none; opacity: 1; top: 82px; pointer-events: auto; outline: 2px solid #fbf0e1; outline-offset: 3px;
}
#home-collection-heading { scroll-margin-top: 86px; }
@media (max-width: 820px) {
  .linea-film-edition #hero.hero-scrolly.scrolly-on { height: 320vh; height: 320svh; }
  .linea-film-edition #hero .film-opening-title { font-size: clamp(94px, 30vw, 260px); }
}
@media (max-width: 820px) and (orientation: portrait) {
  .linea-film-edition #hero .hero-bg { background-image: url('/videos/linea-premiere-tall.jpg'); }
}
@media (prefers-reduced-motion: reduce) {
  .linea-home #nav { transition: none; }
  .linea-home #hero.scrolly-on :is(.film-opening-shade, .film-opening-title) { animation: none; }
}
