/* passvak.com modern feel (founder 22 Nov 2026: "the modern feel in all the sessions of this chat without disrupting
   current view"; then "i dont like those words in the modern feel, lets acquire other things but not that"): no big
   story lines and no tints. Kept: section titles rise in before their cards, a phone flick settles on the next
   section, the menu floats as a pill once the page moves, section intros brighten as you read, and the account
   preview and closing band grow into place. The first screen is unchanged at rest. Home page only (linked from
   index.html / es/index.html), so styles.css stays the shared family file. */
/* Swipe feel, our design (founder 20 Nov 2026: "can swipe idea be integrated to my current design"): no new
   sections. Each section's title rises in first, then its intro, then the cards (the existing .reveal), and on a
   phone a flick settles on the next section's top. Proximity only, so long sections still scroll freely. */
.reveal.flow-head{ transform:translateY(22px); }
.kicker.reveal.flow-head{ transition-delay:0s; }
h2.reveal.flow-head{ transition-delay:.08s; }
.section-intro.reveal.flow-head{ transition-delay:.16s; }
@media (max-width:760px) and (prefers-reduced-motion:no-preference){
  html:not(.signed-in){ scroll-snap-type:y proximity; }
  html:not(.signed-in) body > section.block{ scroll-snap-align:start; scroll-margin-top:64px; }
}
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* Slower, softer ease on every reveal (headline.com, 20 Nov 2026). */
.reveal{ transition:opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); }

/* the menu becomes a floating pill once the page moves (nav keeps its 65px = 64 + its 1px line, so nothing below moves) */
nav{ height:65px; transition:background-color .4s ease-out, border-color .4s ease-out; }
nav .nav-inner{ transition:max-width .6s cubic-bezier(.86,0,.07,1), height .6s cubic-bezier(.86,0,.07,1), margin .6s cubic-bezier(.86,0,.07,1), border-radius .6s cubic-bezier(.86,0,.07,1), box-shadow .6s ease-out, background-color .6s ease-out, padding .6s cubic-bezier(.86,0,.07,1); }
html.scrolled:not(.signed-in) nav{ background:transparent; border-bottom-color:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; }
html.scrolled:not(.signed-in) nav .nav-inner{ max-width:900px; height:52px; margin:6px auto 0; padding:0 8px 0 18px; border-radius:999px; background:rgba(255,255,255,.88); -webkit-backdrop-filter:saturate(180%) blur(14px); backdrop-filter:saturate(180%) blur(14px); border:1px solid var(--border-soft); box-shadow:var(--shadow-md); }
html.scrolled:not(.signed-in) .nav-links .nav-cta{ border-radius:999px; }
@media (max-width:880px){ html.scrolled:not(.signed-in) nav .nav-inner{ margin:6px 10px 0; padding:0 8px 0 14px; } }

@media (prefers-reduced-motion:reduce){ nav, nav .nav-inner{ transition:none; } }

/* Scroll feel (founder 21 Nov 2026, starcloud.com: "this guy doing something similar"): motion that follows the
   scroll instead of playing once. Section intros brighten word by word as you read down (scroll back and they dim
   again); the account preview and the closing band grow into place. Built on the browser's own scroll
   timelines: no library, no script. Browsers without them keep the one-shot rise. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.signed-in) .section-intro{ view-timeline:--si block; }
    html:not(.signed-in) .section-intro .w{ animation:mvRead linear both; animation-timeline:--si;
      animation-range:cover calc(4% + var(--i,0) * .7%) cover calc(18% + var(--i,0) * .7%); }
    html:not(.signed-in) .pv-frame, html:not(.signed-in) .cta-band{
      animation:mvGrow linear both; animation-timeline:view(); animation-range:entry 0% cover 38%;
    }
  }
}
@keyframes mvRead{ from{ opacity:.3; } to{ opacity:1; } }
@keyframes mvGrow{ from{ opacity:.35; transform:translateY(48px) scale(.9); border-radius:40px; } to{ opacity:1; transform:none; } }
