/* 2026 KavIL motion edition. Purposeful, restrained, accessible. */
:root{--story-navy:#122d54;--story-royal:#2862ed;--story-ease:cubic-bezier(.19,1,.22,1)}
.kavil-story-section{background:#f3f6fb;color:var(--story-navy);padding:clamp(64px,8vw,120px) 0;position:relative;isolation:isolate;overflow:hidden}
.kavil-story-section::before{content:"";position:absolute;inset:0 0 auto auto;width:min(40vw,600px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#bfd5ff66 0%,transparent 65%);transform:translate(30%,-40%);z-index:-1;pointer-events:none}
.story-heading{display:flex;justify-content:space-between;align-items:end;gap:clamp(20px,5vw,80px);margin-bottom:clamp(28px,5vw,68px)}
.story-heading h2{font-size:clamp(42px,5.2vw,78px);line-height:1.02;letter-spacing:-.065em;font-weight:690;margin:12px 0 0;color:#102d57}
.story-heading h2 span{color:#2862e3}
.story-heading>p{max-width:33ch;font-size:clamp(15px,1.3vw,18px);color:#546780;line-height:1.75;margin:0}
.story-experience{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);background:#fff;border:1px solid #d7e0ee;border-radius:20px;box-shadow:0 22px 80px #0d306315;overflow:hidden;min-height:700px}
.story-stage{min-width:0;position:relative;display:grid;place-items:center;background:linear-gradient(152deg,#153963,#0e264b 85%);padding:clamp(26px,4vw,54px);overflow:hidden;touch-action:pan-y;isolation:isolate}
.story-stage::before{content:"";position:absolute;inset:7% -30%;border:1px solid #ffffff24;border-radius:50%;transform:rotate(-30deg);z-index:-1}
.story-stage::after{content:"";position:absolute;width:66%;aspect-ratio:1;border:1px solid #ffffff2a;border-radius:50%;z-index:-1}
.story-aura{position:absolute;width:min(80%,490px);aspect-ratio:1;background:#4387ff77;filter:blur(75px);border-radius:50%;opacity:.3;z-index:-1}
.story-image-shell{height:min(64vw,690px);max-height:690px;min-height:450px;aspect-ratio:946/2048;padding:7px;border-radius:25px;background:linear-gradient(150deg,#fff8,#ffffff1a);box-shadow:0 30px 65px #08193177,0 0 0 1px #fff4;transform:rotate(-2.5deg);transition:transform .65s var(--story-ease),box-shadow .65s var(--story-ease);overflow:hidden}
.story-stage:hover .story-image-shell{transform:rotate(0deg) translateY(-6px);box-shadow:0 38px 85px #08193188}
.story-image-shell img{width:100%;height:100%;object-fit:cover;border-radius:19px;display:block;background:#fff}
.story-stage-marker{position:absolute;bottom:22px;left:24px;font-size:13px;display:flex;align-items:baseline;gap:6px;color:#cbd9f0;font-variant-numeric:tabular-nums;letter-spacing:.12em}
.story-stage-marker .story-current-number{font-size:27px;font-weight:700;color:#fff;letter-spacing:-.03em}
.story-sidebar{padding:clamp(26px,3.8vw,60px);display:flex;flex-direction:column;min-width:0}
.story-topline{display:flex;justify-content:space-between;font-size:11px;font-weight:800;letter-spacing:.17em;color:#6d7e98}
.story-active-copy{margin:auto 0 28px;min-height:215px;display:flex;flex-direction:column;justify-content:end}
.story-index{font-size:12px;font-weight:750;letter-spacing:.14em;color:#2862e3;margin:0 0 18px}
.story-active-copy h3{font-size:clamp(30px,3.1vw,49px);line-height:1.1;letter-spacing:-.055em;color:#112b50;font-weight:670;margin:0 0 18px}
.story-active-copy .story-description{font-size:16px;line-height:1.75;color:#596c85;margin:0;max-width:32ch}
.story-progress{height:3px;background:#e3eaf5;overflow:hidden;margin-bottom:25px;border-radius:99px}
.story-progress span{display:block;height:100%;background:#2764ee;width:14.285%;transition:width .55s var(--story-ease)}
.story-actions{display:flex;gap:8px;align-items:center;margin-bottom:25px}
.story-arrow{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#edf3fc;color:#12365e;border:1px solid #d7e3f4;cursor:pointer;font-size:25px;transition:transform .25s var(--story-ease),background .2s,color .2s}
.story-arrow:hover{background:#2764ed;color:#fff;transform:translateY(-2px)}
.story-arrow:active{transform:scale(.95)}
.story-action-tip{font-size:12px;color:#74839a;margin-left:12px}
.story-dots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:24px}
.story-dot{text-align:left;min-height:50px;padding:11px 12px;border:1px solid #e0e8f4;border-radius:8px;font-size:12px;font-weight:650;color:#52647c;background:#fff;cursor:pointer;transition:background .22s,color .22s,border-color .22s,transform .22s}
.story-dot span{color:#6e91c8;margin-right:6px;font-size:11px;font-variant-numeric:tabular-nums}
.story-dot:hover{background:#f2f6ff;border-color:#b4c6e3;transform:translateX(2px)}
.story-dot[aria-pressed=true]{background:#e7f0ff;border-color:#2d68e8;color:#153c75}
.story-dot[aria-pressed=true] span{color:#245fd0}
.story-disclaimer{font-size:11px;line-height:1.6;color:#8090a3;margin:auto 0 0}
@media(prefers-reduced-motion:no-preference){
 .story-enter{animation:story-image-enter .55s var(--story-ease) both}
 @keyframes story-image-enter{from{opacity:.3;transform:translateX(20px) scale(.97);filter:blur(5px)}to{opacity:1;transform:translateX(0) scale(1);filter:blur(0)}}
 .k-motion-ready:not(.k-motion-in){opacity:0;transform:translateY(25px)}
 .k-motion-ready{transition:opacity .75s var(--story-ease),transform .75s var(--story-ease)}
 .k-motion-in{opacity:1;transform:none}
 .hero-screen-card{animation:hero-screen-arrive .9s .12s var(--story-ease) both}
 @keyframes hero-screen-arrive{from{opacity:0;transform:translateY(23px) rotate(2deg)}to{opacity:1;transform:none}}
 .hero-actions .button:hover svg{transform:translateX(4px)}
 .hero-actions .button svg{transition:transform .25s var(--story-ease)}
}
@media(max-width:900px){.story-experience{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);min-height:620px}.story-stage{padding:24px}.story-image-shell{height:520px;min-height:0}.story-sidebar{padding:28px}.story-active-copy{min-height:200px}.story-dot{font-size:11px}}
@media(max-width:700px){.story-heading{display:block}.story-heading>p{margin:19px 0 0}.story-experience{grid-template-columns:1fr;border-radius:16px}.story-stage{min-height:475px;padding:32px 20px}.story-image-shell{height:430px;min-height:0;border-radius:20px}.story-image-shell img{border-radius:15px}.story-sidebar{padding:26px}.story-active-copy{min-height:0;margin:28px 0 25px}.story-active-copy h3{font-size:clamp(31px,8vw,43px)}.story-dots{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.story-dot{padding:9px 7px;font-size:10px}.story-dot span{margin-right:3px}.story-stage{min-height:390px}.story-image-shell{height:350px}.story-heading h2{font-size:40px}}
@media(prefers-reduced-motion:reduce){.story-image-shell,.story-dot,.story-arrow,.story-progress span,.story-enter,.k-motion-ready{animation:none!important;transition:none!important;transform:none!important;filter:none!important}.k-motion-ready{opacity:1!important}}

/* More responsive product interactions, without cosmetic loops. */
@media(prefers-reduced-motion:no-preference){
 .app-tour .tour-appear{animation:kavil-tour-in .36s var(--story-ease) both}
 @keyframes kavil-tour-in{from{opacity:.2;transform:translateY(8px) scale(.985);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
 .price-line .price-refresh{display:inline-block;animation:kavil-price-in .32s var(--story-ease) both}
 @keyframes kavil-price-in{from{opacity:.45;transform:translateY(9px)}to{opacity:1;transform:none}}
 .city-carousel-item .city-slide{transition:transform .33s var(--story-ease),background .33s,border-color .33s}
 .city-carousel-item:hover .city-slide{transform:translateY(-4px)}
 .plan-card{transition:box-shadow .35s var(--story-ease),border-color .35s,transform .35s var(--story-ease)}
 .plan-card:hover{box-shadow:0 20px 52px #163e7521;transform:translateY(-3px)}
 .plan-button,.header-cta{transition:background .25s,color .25s,transform .3s var(--story-ease),box-shadow .3s}
 .plan-button:hover,.header-cta:hover{transform:translateY(-2px)}
}
@media(prefers-reduced-motion:reduce){.tour-appear,.price-refresh{animation:none!important}}
