/* 24FIX V14 · Scroll film
   A pinned stage whose film is scrubbed by scroll position, with chapter titles
   (Cars · Horology · Residences · Yachts) fading in over the footage. */

.scroll-film{position:relative;height:720vh;background:#0a0908;color:#f4f0e7}
.scroll-film.sf-missing{display:none}
.sf-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate}
.sf-video,.sf-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.sf-poster{transition:opacity .6s ease}
.scroll-film.sf-ready .sf-poster{opacity:0}
.sf-vignette{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(10,9,8,.55) 0%,rgba(10,9,8,0) 22%,rgba(10,9,8,0) 58%,rgba(10,9,8,.72) 100%),
    radial-gradient(120% 90% at 50% 50%,rgba(10,9,8,0) 55%,rgba(10,9,8,.45) 100%)}

/* Chapters */
.sf-chapters{position:absolute;inset:0;z-index:2;pointer-events:none}
.sf-chapter{position:absolute;left:clamp(20px,5vw,84px);bottom:clamp(64px,12vh,140px);max-width:min(560px,86vw);
  opacity:0;transform:translate3d(0,28px,0);filter:blur(6px);
  transition:opacity .8s cubic-bezier(.16,1,.3,1),transform 1s cubic-bezier(.16,1,.3,1),filter .9s ease}
.sf-chapter.is-active{opacity:1;transform:none;filter:none;pointer-events:auto}
.sf-chapter small{display:block;font:600 10px/1 Inter,ui-sans-serif,sans-serif;letter-spacing:.32em;color:#d9bf8c;margin-bottom:16px}
.sf-chapter small i{font-style:normal;color:rgba(244,240,231,.55);margin-right:10px}
.sf-chapter h2{margin:0;font:400 clamp(54px,8.6vw,132px)/.9 Georgia,"Times New Roman",serif;letter-spacing:-.02em;color:#fbf8f1;text-shadow:0 8px 40px rgba(0,0,0,.35)}
.sf-chapter h2 em{font-style:italic;color:#e8d3a6}
.sf-chapter p{margin:18px 0 0;max-width:420px;font:400 15px/1.6 Inter,ui-sans-serif,sans-serif;color:rgba(244,240,231,.82)}
.sf-chapter a{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:12px 0;font:600 10px/1 Inter,ui-sans-serif,sans-serif;letter-spacing:.24em;color:#fbf8f1;text-decoration:none;border-bottom:1px solid rgba(232,211,166,.6)}
.sf-chapter a:hover{color:#e8d3a6}
.sf-chapter.sf-intro{left:50%;bottom:auto;top:50%;text-align:center;transform:translate3d(-50%,-40%,0)}
.sf-chapter.sf-intro.is-active{transform:translate3d(-50%,-50%,0)}
.sf-chapter.sf-intro img{width:clamp(64px,7vw,96px);filter:invert(1);opacity:.92;margin-bottom:22px}

/* Chapter index + progress */
.sf-index{position:absolute;right:clamp(16px,3vw,48px);top:50%;transform:translateY(-50%);z-index:3;list-style:none;margin:0;padding:0;display:grid;gap:14px}
.sf-index li{display:flex;align-items:center;justify-content:flex-end;gap:12px;font:600 9px/1 Inter,ui-sans-serif,sans-serif;letter-spacing:.24em;color:rgba(244,240,231,.42);transition:color .5s}
.sf-index li:after{content:"";width:18px;height:1px;background:currentColor;transition:width .5s cubic-bezier(.16,1,.3,1)}
.sf-index li.is-active{color:#e8d3a6}
.sf-index li.is-active:after{width:42px}
.sf-progress{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:3;background:rgba(244,240,231,.12)}
.sf-progress i{display:block;height:100%;width:100%;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,#a98246,#e8d3a6)}
.sf-hint{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:3;font:600 9px/1 Inter,ui-sans-serif,sans-serif;letter-spacing:.3em;color:rgba(244,240,231,.6);transition:opacity .5s}
.scroll-film.sf-scrolled .sf-hint{opacity:0}

@media (max-width:720px){
  .scroll-film{height:600vh}
  .sf-index{display:none}
  .sf-chapter{left:20px;right:20px;bottom:76px;max-width:none}
  .sf-chapter h2{font-size:clamp(46px,14vw,72px)}
  .sf-chapter p{font-size:14px}
}

/* Reduced motion: no scrubbing. The film becomes a single calm frame with the chapter list. */
@media (prefers-reduced-motion:reduce){
  .scroll-film{height:auto}
  .sf-stage{position:relative;height:100vh}
  .sf-chapter{transition:none;filter:none}
}
