/* Marketing motion. Visible without JS. Portal and admin do not load this file. */
:root{--ease:cubic-bezier(.16,1,.3,1)}
html{scroll-behavior:smooth}
.sprog{position:fixed;top:0;left:0;right:0;height:4px;z-index:40;background:linear-gradient(90deg,#6F4C34,#C49A7A 45%,#F2E4D6);transform-origin:0 50%;transform:scaleX(0);pointer-events:none;box-shadow:0 0 18px rgba(196,154,122,.7)}
nav{z-index:20;transition:background-color .4s ease,box-shadow .4s ease;background:rgba(10,11,13,0)!important}
nav.scrolled{background:rgba(18,12,9,.92)!important;box-shadow:0 14px 34px -16px rgba(0,0,0,.55)}
nav .logo,nav .nav-cta{transition:transform .45s var(--ease);transform-origin:left center}
nav .nav-cta{transform-origin:right center}
nav.scrolled .logo,nav.scrolled .nav-cta{transform:scale(.92)}

/* Hero stays pinned while the first sections slide over it. */
.hero{position:sticky;top:68px;z-index:1}
.marq,section{position:relative;z-index:2}
.hero h1{opacity:1;visibility:visible}

/* Reveals: transform + opacity only. JS adds .rv, so a failed script leaves copy in place. */
.rv{opacity:0;transform:translate3d(0,78px,0) scale(.86) rotate(-3deg);transition:opacity 1s var(--ease),transform 1.05s var(--ease);transition-delay:var(--d,0ms)}
.rv.rv-l{transform:translate3d(-72px,36px,0) scale(.9) rotate(-6deg)}
.rv.rv-r{transform:translate3d(72px,28px,0) scale(.9) rotate(5deg)}
.rv.rv-s{transform:translate3d(0,64px,0) scale(.78) rotate(4deg)}
.rv.on{opacity:1;transform:none}
.fade{opacity:1;transform:none}

/* Headings: words rise, spin, and scale in. A second animation forces them visible. */
.hero h1 .w,h2 .w{display:inline-block;overflow:hidden;vertical-align:bottom;padding:0 .06em .14em 0}
.hero h1 .w>i,h2 .w>i{display:inline-block;font-style:inherit;opacity:0;transform:translate3d(0,145%,0) rotate(8deg) scale(.82)}
h2 .w>i{animation:wFail 0s linear 8s forwards}
.hero h1.play .w>i,h2.play .w>i{animation:wIn 1.05s var(--ease) forwards,wFail 0s linear 2.6s forwards;animation-delay:var(--d,0ms),2.6s}
@keyframes wIn{to{opacity:1;transform:none}}
@keyframes wFail{to{opacity:1;transform:none}}

/* Image wipe. Photos stay opacity 1. forwards holds the open end state, never the closed start. */
picture.cut,picture.cut img,.rs-item picture,.rs-item img{opacity:1;visibility:visible;clip-path:none}
.hero picture.cut{animation:wipe 1.25s var(--ease) forwards,wipeDone 0s linear 2.3s forwards}
.mentor picture.cut.arm,.rs-item.arm picture{animation:wipe 1.15s var(--ease) forwards,wipeDone 0s linear 1.8s forwards}
.hero picture.cut img{opacity:1!important;animation:heroIn 1.45s var(--ease) forwards,drift 13s ease-in-out 1.6s infinite}
.mentor picture.cut img{opacity:1!important;animation:drift 15s ease-in-out infinite}
@keyframes wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes wipeDone{to{clip-path:none;opacity:1}}
@keyframes heroIn{from{transform:translate3d(48px,86px,0) scale(1.16) rotate(6deg)}to{transform:none}}
@keyframes drift{0%,100%{transform:none}50%{transform:translate3d(0,-16px,0) rotate(-1.1deg)}}
.hero .cut{transform:translate3d(0,var(--py,0px),0) scale(var(--ps,1))}
.mentor .cut{transform:translate3d(0,var(--py,0px),0)}

/* Section washes: opacity + transform, taupe and nude only. */
section:not(.disc)::after,.hero::after{content:"";position:absolute;inset:-6% -8%;pointer-events:none;z-index:0;background:radial-gradient(46% 42% at 12% 18%,rgba(242,228,214,.95),transparent 70%),radial-gradient(40% 46% at 92% 82%,rgba(176,138,107,.8),transparent 72%);opacity:var(--wash,0);transform:translate3d(0,var(--sy,0px),0) scale(1.08)}
.hero::after{background:radial-gradient(42% 40% at 78% 30%,rgba(196,154,122,.55),transparent 70%)}
section>.wrap,section>.rs-rail,.hero .wrap{position:relative;z-index:1}
.hero:before{animation:glow 16s ease-in-out infinite}
@keyframes glow{50%{transform:translate3d(-8%,6%,0) scale(1.16);opacity:.8}}
.alt::before,section.final::before{content:"";position:absolute;inset:-28%;z-index:0;pointer-events:none;background:radial-gradient(38% 32% at 22% 28%,rgba(255,255,255,.5),transparent 70%),radial-gradient(34% 30% at 78% 72%,rgba(176,138,107,.34),transparent 70%);animation:amb 18s ease-in-out infinite alternate;opacity:.9}
@keyframes amb{0%{transform:translate3d(-8%,-6%,0) rotate(0)}100%{transform:translate3d(9%,7%,0) rotate(12deg)}}

/* Roadmap cards stack and cover one another while the section is in view. */
@media(min-width:900px){
  .steps .step{position:sticky;top:92px}
  .steps .step:nth-child(1){z-index:1}.steps .step:nth-child(2){z-index:2}.steps .step:nth-child(3){z-index:3}.steps .step:nth-child(4){z-index:4}
  .steps .step:nth-child(5){z-index:5}.steps .step:nth-child(6){z-index:6}.steps .step:nth-child(7){z-index:7}.steps .step:nth-child(8){z-index:8}
  .steps .step{box-shadow:0 22px 40px -28px rgba(42,31,24,.55)}
}

/* Phone: card rows become a sideways snap scroll. */
@media(max-width:800px){
  .grid.g3{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:8px;margin-right:-20px;padding-right:20px}
  .grid.g3>.card{flex:0 0 84%;scroll-snap-align:center}
}

.btn{position:relative;overflow:hidden;transition:transform .35s var(--ease),box-shadow .35s var(--ease),background-color .3s}
.btn::after{content:"";position:absolute;top:0;left:0;width:55%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:translateX(-170%) skewX(-20deg);pointer-events:none}
.btn:hover{transform:translateY(-4px) scale(1.03)}
.btn:hover::after,.btn.shine::after{transform:translateX(270%) skewX(-20deg);transition:transform .9s var(--ease)}
.btn:active{transform:translateY(0) scale(.98)}
.card,.price,.rs-item{position:relative}
.card::after,.price::after{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .45s var(--ease);box-shadow:0 0 0 1px rgba(196,154,122,.7),0 26px 50px -18px rgba(196,154,122,.55)}
.card:hover::after,.price:hover::after{opacity:1}
.card .icon{transition:transform .5s var(--ease)}
.card:hover .icon{transform:rotate(-10deg) scale(1.14)}
.step .pl{transition:transform .4s var(--ease)}.step.open .pl{transform:rotate(45deg)}
details summary{transition:transform .35s var(--ease)}details summary:hover{transform:translateX(6px)}
details[open] p{animation:dIn .55s var(--ease)}
@keyframes dIn{from{opacity:0;transform:translate3d(0,-10px,0)}to{opacity:1;transform:none}}
.faq a,.bul a,footer a,.lead a{position:relative;text-decoration:none}
.faq a::after,.bul a::after,footer a::after,.lead a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.faq a:hover::after,.bul a:hover::after,footer a:hover::after,.lead a:hover::after{transform:scaleX(1);transform-origin:left}

.marq{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#120E0B;padding:20px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marq-t{display:flex;width:max-content;animation:marq 22s linear infinite}
.marq:hover .marq-t{animation-play-state:paused}
.marq-t ul{display:flex;list-style:none;margin:0;padding:0}
.marq-t li{white-space:nowrap;padding:0 34px;color:#E6CBB3;font-size:16px;letter-spacing:.16em;text-transform:uppercase;font-weight:700}
.marq-t li b{color:#C49A7A;font-weight:800;margin-right:34px}
.marq-lite{background:#E6CBB3;border-color:#C9A88C}
.marq-lite .marq-t{animation-duration:28s;animation-direction:reverse}
.marq-lite li{color:#5C4636;font-size:15px}
.marq-lite li b{color:#7A5638}
@keyframes marq{to{transform:translate3d(-50%,0,0)}}

/* Results travel sideways. Without .go the row is a normal sideways scroller. */
.rs-rail{overflow-x:auto;margin-top:36px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
.rs-grid{columns:unset;display:flex;gap:16px;width:max-content;margin:0}
.rs-item{width:min(280px,78vw);margin:0;flex:none;scroll-snap-align:start;background:#E6CBB3}
.rs-item img{width:100%;height:380px;object-fit:cover;object-position:top;opacity:1!important;transform:none}
.rs-rail.go{overflow:hidden;scroll-snap-type:none}
.rs-rail.go .rs-grid{animation:rsRun 36s linear infinite}
.rs-rail.go:hover .rs-grid{animation-play-state:paused}
@keyframes rsRun{to{transform:translate3d(-50%,0,0)}}
@keyframes countPop{0%{transform:scale(.7) rotate(-4deg)}60%{transform:scale(1.12) rotate(1deg)}100%{transform:scale(1)}}
[data-count].pop{display:inline-block;animation:countPop .7s var(--ease)}

@media(max-width:700px){
  .marq-t{animation-duration:16s}
  .rs-item img{height:280px}
  .hero{top:60px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
  .rv,.hero h1 .w>i,h2 .w>i{opacity:1!important;transform:none!important}
  .cut picture,.cut img,.rs-item picture,.rs-item img{clip-path:none!important;opacity:1!important;transform:none!important;visibility:visible!important}
  .sprog{display:none}
  .marq-t,.rs-grid{transform:none}
  .hero{position:relative;top:auto}
  .steps .step{position:static}
}
