/* Sandeep Pariyar — full-surface motion gallery. The embedded experiments own their visual fields. */
:root{--motion-acid:#c9fda1;--motion-mist:#c5ddd6;--motion-faint:#839e9c;--motion-dark:#07171b;--motion-line:#7391923b}
html{scroll-behavior:smooth}
body.motion-experience{background:var(--motion-dark);color:#e9f4eb;overflow-x:hidden}
.motion-experience ::selection{background:#ddffb1;color:#06231d}
.motion-experience a:focus-visible,.motion-experience button:focus-visible{outline:2px solid var(--motion-acid);outline-offset:4px}
.motion-site-header{min-height:81px;margin:0;border-bottom:1px solid #8fa6a329;padding:0 clamp(20px,4.9vw,92px);position:relative;z-index:15;background:#061419}
.motion-site-header .brand{color:#f0f7f0;gap:14px}
.motion-site-header .brand b{font:italic bold 2.55rem/.9 Georgia;letter-spacing:-.15em;padding-right:8px}
.motion-site-header .brand b span{color:var(--motion-acid)}
.brand-caption{display:grid;gap:1px;font:650 12px/1.4 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.035em}
.brand-caption small{font-size:9px;color:#95aaa3;letter-spacing:.045em;font-weight:500}
.motion-site-header nav{gap:clamp(.6rem,2.6vw,3rem)}
.motion-site-header nav a{color:#b7c9c4;font:600 12px/1.4 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.045em}
.motion-site-header nav a[aria-current]{color:#e9f6ed}
.motion-site-header nav a:hover{color:var(--motion-acid)}
.motion-site-header nav a[aria-current]:after,.motion-site-header nav a:hover:after{background:var(--motion-acid)}
.motion-intro{padding:clamp(25px,3.1vw,55px) clamp(20px,4.9vw,92px) clamp(54px,7.6vw,145px);position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 66% 95%,#31564e48,transparent 53%),linear-gradient(123deg,#071418,#102a2b 78%,#071417)}
.motion-intro:before{content:"";position:absolute;right:-10vw;bottom:-63%;width:68vw;aspect-ratio:1;border:1px solid #95c6b427;border-radius:48% 52% 60% 40%;transform:rotate(-26deg);box-shadow:0 0 0 7vw #9adac605,0 0 0 14vw #9adac608,0 0 0 21vw #9adac604;pointer-events:none;z-index:-1;animation:motionContour 24s ease-in-out infinite alternate}
@keyframes motionContour{to{transform:translate(5%,-7%) rotate(10deg);border-radius:56% 44% 38% 62%}}
.motion-intro-meta,.motion-meta-rail,.motion-aside-index,.study-pretitle,.motion-transport,.motion-index-kicker,.motion-endnote-kicker{font:600 11px/1.45 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.09em}
.motion-intro-meta{display:flex;justify-content:space-between;gap:20px;color:#8faaa1}
.motion-intro-meta span:first-child{color:#d3e9d7;display:flex;gap:12px;align-items:center}
.motion-intro-meta i{background:var(--motion-acid);width:7px;height:7px;box-shadow:0 0 20px var(--motion-acid)}
.motion-intro-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);align-items:end;gap:3vw;padding-top:clamp(55px,8.3vw,158px)}
.motion-intro h1{margin:0;font-weight:430;font-size:clamp(4.4rem,9.4vw,12.4rem);line-height:.86;letter-spacing:-.085em;max-width:12ch;text-wrap:balance}
.motion-intro h1 em{color:#c6f4c3;letter-spacing:-.075em;font-style:italic;font-weight:400;white-space:nowrap}
.motion-intro-aside{padding-bottom:.35em;max-width:425px;justify-self:end}
.motion-aside-index{color:var(--motion-acid)}
.motion-intro-aside p{font-size:clamp(1.12rem,1.5vw,1.52rem);line-height:1.55;letter-spacing:-.025em;margin:24px 0 32px;color:#b6d0c9}
.motion-intro-aside a{display:inline-flex;gap:3rem;align-items:center;border-bottom:1px solid #aac5b6;padding-bottom:10px;color:#f0fcf1;font:600 11px/1.4 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.09em;transition:gap .35s,color .35s}
.motion-intro-aside a:hover{gap:4rem;color:var(--motion-acid)}
.motion-live-section{background:#06151b}
.motion-meta-rail{padding:13px clamp(20px,4.9vw,92px);display:flex;justify-content:space-between;align-items:center;gap:1.5rem;color:#87b2a2;border-bottom:1px solid var(--motion-line);border-top:1px solid var(--motion-line)}
.motion-meta-rail>span:first-child{display:flex;align-items:center;gap:11px;color:#dcf0dc}
.rail-dot{width:6px;height:6px;background:#b5fa80;border-radius:50%;box-shadow:0 0 12px #b5fa80}
.study-heading{min-height:200px;display:flex;justify-content:space-between;align-items:end;gap:clamp(1rem,6vw,7rem);padding:clamp(30px,4.5vw,65px) clamp(20px,4.9vw,92px) clamp(27px,3.2vw,50px);background:radial-gradient(ellipse at 60% 20%,#214a4145,transparent 70%)}
.study-pretitle{color:var(--motion-acid);display:block;margin-bottom:13px}
.study-heading h2{font-size:clamp(2.8rem,5.5vw,7rem);line-height:1.04;font-weight:460;letter-spacing:-.072em;display:flex;gap:.18em;align-items:start}
.study-title-mark{font-family:Arial,sans-serif;color:#afd9a1;font-size:clamp(1.4rem,2vw,2.4rem);letter-spacing:0;line-height:1.3}
.study-heading p{color:#abc5bc;font-size:clamp(1rem,1.25vw,1.32rem);line-height:1.56;max-width:32ch;margin:0 0 5px}
.motion-stage{height:clamp(560px,69svh,1020px);position:relative;overflow:hidden;background:#07131a;isolation:isolate;width:100%;--study-hue:147;contain:layout paint}
.motion-stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#26514e75,#041014 75%);pointer-events:none}
.motion-stage-poster{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(25px) brightness(.35) saturate(1.1);transform:scale(1.1);transition:background-image .4s;opacity:.9}
.motion-frame-deck{position:absolute;inset:0;z-index:1}
.study-iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transform:scale(1.014);filter:blur(7px);transition:opacity .85s cubic-bezier(.17,.65,.23,1),transform .85s cubic-bezier(.17,.65,.23,1),filter .8s;pointer-events:none;background:transparent}
.study-iframe.is-visible{opacity:1;transform:scale(1);filter:blur(0);pointer-events:auto}
.study-iframe.is-leaving{opacity:0;transform:scale(.995);filter:blur(6px);pointer-events:none}
.stage-loading{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:14px;color:#d0e9df;font:650 10px/1.4 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.1em;pointer-events:none;transition:opacity .65s;opacity:1;text-shadow:0 2px 10px #071315}
.stage-loading.is-hidden{opacity:0}
.stage-loading-orb{width:10px;height:10px;border-radius:100%;background:#b7fb92;box-shadow:0 0 0 5px #b7fb9240,0 0 30px #b7fb92;animation:motionPulse 1.45s ease-in-out infinite}
@keyframes motionPulse{50%{opacity:.5;transform:scale(.6)}}
.stage-orbit{position:absolute;inset:0;pointer-events:none;opacity:0;z-index:2}
.stage-edge-id{position:absolute;left:clamp(14px,2vw,33px);bottom:12px;color:#d5eee860;font:500 9px/1.2 ui-monospace,monospace;letter-spacing:.09em;z-index:2;pointer-events:none;text-shadow:0 0 10px #07171b}
.stage-fullscreen-actions{position:absolute;z-index:6;top:clamp(12px,2vw,32px);right:clamp(12px,2vw,32px);display:flex;gap:6px;opacity:0;pointer-events:none;transition:opacity .3s}
.stage-fullscreen-actions button{width:42px;height:40px;border:1px solid #c5e4d950;background:#06171bd0;backdrop-filter:blur(18px);color:#f0f7f1;font-size:18px;cursor:pointer;transition:background .2s,transform .2s}
.stage-fullscreen-actions button:hover{background:#c9fda1;color:#041f18;transform:translateY(-2px)}
.stage-fullscreen-actions #fsExit{display:none}
.motion-stage:fullscreen{height:100vh;background:#03121a}
.motion-stage:fullscreen .stage-fullscreen-actions{opacity:1;pointer-events:auto}
.motion-stage:fullscreen #fsExit{display:block}
.motion-transport{min-height:100px;padding:16px clamp(20px,4.9vw,92px);display:flex;align-items:center;gap:clamp(16px,3vw,48px);border-bottom:1px solid var(--motion-line);color:#b1c9c1;justify-content:space-between}
.motion-transport button{font:inherit;letter-spacing:inherit;cursor:pointer}
.motion-arrow{display:inline-flex;align-items:center;gap:14px;background:transparent;color:#edf8ef;border:0;padding:10px 0;white-space:nowrap;transition:color .2s,gap .25s}
.motion-arrow:not(.next) span:first-child,.motion-arrow.next span:last-child{font:300 28px/1 Arial,sans-serif}
.motion-arrow:hover{color:var(--motion-acid);gap:22px}
.motion-transport-middle{flex:1;display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.4vw,42px)}
.transport-state{color:#bbdcc7;white-space:nowrap}.transport-hint{color:#799993;white-space:nowrap}
.motion-progress{display:flex;align-items:center;gap:5px;min-width:140px;width:min(16vw,260px)}
.motion-progress span{display:block;height:2px;flex:1;background:#44625c;transition:background .3s,height .3s}
.motion-progress span.is-active{background:var(--motion-acid);height:4px;box-shadow:0 0 14px #c9fda17d}
.motion-fullscreen{display:inline-flex;align-items:center;gap:10px;border:1px solid #7b9e9257;background:#ffffff05;padding:12px 13px;color:#e1f0e7;white-space:nowrap;transition:background .2s,border-color .2s}
.motion-fullscreen:hover{border-color:#c9fda1;background:#c9fda119}.motion-fullscreen span:first-child{font-size:20px;line-height:1}
.motion-index{padding:clamp(80px,11vw,185px) clamp(20px,4.9vw,92px) clamp(100px,12vw,205px);background:linear-gradient(180deg,#091d20,#102e30 45%,#071b20)}
.motion-index-header{display:grid;grid-template-columns:1.4fr .6fr;column-gap:5vw;align-items:end;margin-bottom:clamp(44px,6vw,90px)}
.motion-index-kicker{grid-column:1/-1;color:var(--motion-acid);margin-bottom:30px}
.motion-index-header h2{font-weight:450;letter-spacing:-.07em;font-size:clamp(3.7rem,7.7vw,10rem);line-height:.97;max-width:12ch}
.motion-index-header h2 em{color:#a9cfbc;font-style:italic}
.motion-index-header p{font-size:clamp(1.06rem,1.4vw,1.4rem);color:#b5ccc3;line-height:1.6;max-width:33ch;margin:0 0 8px}
.motion-study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(35px,5vw,78px) clamp(15px,2.5vw,40px)}
.motion-study-card{appearance:none;min-width:0;display:flex;flex-direction:column;text-align:left;border:0;border-top:1px solid #96b5a650;background:none;padding:0 0 14px;color:#eff9f2;cursor:pointer;position:relative;transition:transform .45s cubic-bezier(.1,.7,.12,1)}
.motion-study-card:hover,.motion-study-card:focus-visible{transform:translateY(-7px)}
.motion-study-card[aria-pressed="true"]{border-top-color:var(--motion-acid)}
.motion-study-card:after{content:"";position:absolute;top:-2px;left:0;width:0;height:2px;background:var(--motion-acid);transition:width .5s cubic-bezier(.15,.75,.3,1)}
.motion-study-card:hover:after,.motion-study-card[aria-pressed="true"]:after{width:100%}
.study-thumb{display:block;position:relative;aspect-ratio:1.65;background:#0c282e;margin-top:20px;overflow:hidden;width:100%}
.study-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.9,.25,1),filter .7s;filter:brightness(.77) saturate(.87)}
.motion-study-card:hover .study-thumb img,.motion-study-card[aria-pressed="true"] .study-thumb img{transform:scale(1.075);filter:brightness(.98) saturate(1.12)}
.study-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#001b2366,transparent 50%);pointer-events:none}
.study-thumb-signal{position:absolute;top:14px;right:14px;width:6px;height:6px;border-radius:50%;background:#bffba3;box-shadow:0 0 0 5px #051e1999,0 0 16px #bffba3;z-index:2;transition:transform .45s}
.motion-study-card:hover .study-thumb-signal{transform:scale(1.35)}
.study-card-top{width:100%;display:flex;justify-content:space-between;color:#a5cbb3;gap:12px;font:600 10px/1.4 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.09em;margin:18px 0 9px}
.study-card-top span:last-child{font-size:15px;line-height:1}
.motion-study-card strong{font-size:clamp(1.7rem,2.3vw,3.4rem);line-height:1.12;letter-spacing:-.055em;font-weight:510}
.motion-study-card strong small{font:inherit;font-weight:370;display:block;color:#c3e6d6}
.study-sub{font-size:clamp(.9rem,1vw,1.12rem);color:#a7c7ba;margin-top:12px}
.motion-endnote{background:#ddece2;color:#163228;padding:clamp(80px,11vw,180px) clamp(20px,4.9vw,92px);display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:6vw}
.motion-endnote-kicker{color:#276943}
.motion-endnote h2{font-size:clamp(3.5rem,7.1vw,9rem);line-height:.96;letter-spacing:-.073em;font-weight:470;margin-top:24px}
.motion-endnote h2 em{color:#49866d}
.motion-endnote p{font-size:clamp(1.18rem,1.6vw,1.65rem);line-height:1.55;color:#476057;margin-bottom:36px}
.motion-cta{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 0;border-top:1px solid #789b83;color:#163b2e;font-weight:650;font-size:clamp(1.05rem,1.25vw,1.3rem);transition:color .22s,padding-left .22s}
.motion-cta:hover{color:#2d8057;padding-left:8px}
.motion-cta.ghost{color:#567968}
.motion-footer{background:#07191d;color:#acc3b9;border:0;margin:0;padding:25px clamp(20px,4.9vw,92px);min-height:110px;font-size:13px}
.motion-footer strong{color:#eef7ed}
.motion-footer a:hover{color:var(--motion-acid)}
@media(max-width:1250px){.motion-transport-middle .transport-hint{display:none}.motion-stage{height:clamp(540px,67svh,900px)}}
@media(max-width:950px){.motion-intro-grid{grid-template-columns:1fr;gap:40px}.motion-intro-aside{justify-self:start;max-width:580px}.motion-intro{padding-bottom:80px}.motion-intro h1{font-size:clamp(5rem,13vw,8.7rem)}.motion-study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.motion-index-header{grid-template-columns:1fr}.motion-index-header p{margin-top:25px}.motion-endnote{grid-template-columns:1fr;gap:36px}.study-heading{min-height:0;align-items:start;flex-direction:column;gap:18px}.study-heading p{max-width:45ch}.transport-state{display:none}.motion-transport-middle{justify-content:center}.motion-progress{width:min(32vw,240px)}}
@media(max-width:760px){.motion-site-header{padding:15px 18px 9px;flex-direction:column;align-items:stretch;gap:10px}.motion-site-header nav{width:100%;justify-content:space-between;gap:8px}.motion-site-header nav a{font-size:11px;padding:9px 0}.brand-caption{font-size:11px}.brand-caption small{font-size:8px}.motion-intro{padding:26px 20px 68px}.motion-intro-meta{font-size:9px}.motion-intro-meta span:last-child{display:none}.motion-intro-grid{padding-top:62px;gap:40px}.motion-intro h1{font-size:clamp(4.45rem,15vw,7rem)}.motion-intro-aside p{font-size:1.2rem}.motion-meta-rail{padding:10px 20px;font-size:9px}.motion-meta-rail .rail-right{display:none}.study-heading{padding:29px 20px 32px}.study-heading h2{font-size:clamp(2.6rem,9vw,5rem)}.study-heading p{font-size:1rem}.motion-stage{height:clamp(530px,78svh,760px)}.motion-transport{gap:12px;padding:15px 20px;min-height:90px}.motion-arrow .arrow-label{display:none}.motion-arrow:not(.next) span:first-child,.motion-arrow.next span:last-child{font-size:26px}.motion-transport-middle{flex:1}.motion-progress{width:100%;min-width:0}.motion-fullscreen{padding:9px 11px}.motion-fullscreen span:last-child{display:none}.motion-index{padding:80px 20px 110px}.motion-index-header h2{font-size:clamp(3.5rem,12vw,5.5rem)}.motion-study-grid{gap:36px 18px}.motion-study-card strong{font-size:1.65rem}.motion-study-card strong small{font-size:1.2rem}.study-sub{font-size:.9rem}.motion-endnote{padding:80px 20px}.motion-endnote h2{font-size:clamp(3.8rem,12vw,6rem)}.motion-footer{padding:30px 20px}}
@media(max-width:540px){.motion-intro h1{font-size:clamp(4.05rem,16.2vw,5rem)}.motion-study-grid{grid-template-columns:1fr;gap:40px}.study-thumb{aspect-ratio:1.86}.motion-study-card strong{font-size:2rem}.motion-index-header h2{font-size:clamp(3.4rem,12vw,5rem)}.motion-stage{height:clamp(540px,77svh,700px)}.stage-fullscreen-actions button{width:36px;height:34px}.stage-edge-id{display:none}.motion-transport{min-height:80px}.motion-transport-middle{flex:1}.motion-transport .motion-arrow{padding:6px}.motion-progress{gap:4px}}
@media(prefers-reduced-motion:reduce){.motion-experience *,.motion-experience *:before,.motion-experience *:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* Editorial project framing is visually separate from the live instrument. */
.motion-experience .motion-intro{
  background:radial-gradient(ellipse at 75% 100%,#b4d2bb7d,transparent 58%),linear-gradient(125deg,#eef2ec,#dce9e0);
  color:var(--author-ink);
}
.motion-experience .motion-intro:before{border-color:#6d99764f;box-shadow:0 0 0 7vw #6d997610,0 0 0 14vw #6d99760a,0 0 0 21vw #6d997607}
.motion-experience .motion-intro-meta,.motion-experience .motion-intro-meta span:first-child{color:#557465}
.motion-experience .motion-intro-meta i{background:#668f69;box-shadow:none}
.motion-experience .motion-intro h1{font-size:clamp(4.4rem,7.8vw,9.3rem);max-width:14ch;line-height:.95}
.motion-experience .motion-intro h1 em{color:#577c62;white-space:normal;font-size:.8em;line-height:1.04}
.motion-experience .motion-aside-index{color:#467457;font-size:12px;letter-spacing:.065em}
.motion-experience .motion-intro-aside p{color:#405e51;font-size:clamp(1.13rem,1.52vw,1.5rem)}
.motion-experience .motion-intro-aside a{color:#174834;border-bottom-color:#547e61;font-size:14px;letter-spacing:.01em}
.motion-experience .motion-intro-aside a:hover{color:#0a3021}
.motion-experience .study-heading{
  background:linear-gradient(135deg,#eaf0e9,#dce7df);color:var(--author-ink);
  border-top:1px solid #c0d0c3;
}
.motion-experience .study-pretitle{color:#51775a;font-size:12px;letter-spacing:.07em}
.motion-experience .study-heading h2{color:var(--author-ink);font-family:var(--author-type)}
.motion-experience .study-heading p{color:#455f54;font-size:clamp(1.05rem,1.35vw,1.35rem)}
.motion-experience .motion-index{background:linear-gradient(180deg,#e6eee6,#ecf2ea 45%,#dfeae1);color:var(--author-ink)}
.motion-experience .motion-index-kicker{color:#51775a;font-size:12px;letter-spacing:.07em}
.motion-experience .motion-index-header h2{font-size:clamp(3.9rem,6.1vw,8rem);max-width:13ch;line-height:1.02}
.motion-experience .motion-index-header h2 em{color:#577e63}
.motion-experience .motion-index-header p{color:#486358;font-size:clamp(1.08rem,1.4vw,1.4rem)}
.motion-experience .motion-study-card{color:var(--author-ink);border-top-color:#abc1b1}
.motion-experience .motion-study-card[aria-pressed="true"]{border-top-color:#477658}
.motion-experience .motion-study-card:after{background:#477658}
.motion-experience .study-card-top{color:#5d7b69;font-size:12px;letter-spacing:.045em}
.motion-experience .motion-study-card strong{color:#163d30}
.motion-experience .motion-study-card strong small{color:#4d765d}
.motion-experience .study-sub{color:#4c6959;font-size:clamp(1rem,1.06vw,1.18rem);line-height:1.5}
.motion-experience .motion-endnote{background:#dce9df}
.motion-experience .motion-meta-rail,.motion-experience .motion-transport{font-size:12px;letter-spacing:.055em}
.motion-experience .motion-arrow,.motion-experience .motion-fullscreen{min-height:44px}
.motion-experience .stage-fullscreen-actions button{min-width:44px;min-height:44px}
/* Author credit belongs in the section introduction, not over the live instrument. */
.motion-experience .stage-edge-id{display:none}
@media(max-width:760px){
  .motion-experience .motion-intro h1{font-size:clamp(3.9rem,11.3vw,6.5rem)}
  .motion-experience .motion-index-header h2{font-size:clamp(3.4rem,9vw,5rem)}
  .motion-experience .study-heading p{font-size:1.06rem}
  .motion-experience .motion-meta-rail,.motion-experience .motion-transport{font-size:11px}
}

.motion-experience .motion-intro { padding-block: clamp(20px, 2.4vw, 38px); }
.motion-experience .motion-intro-grid { align-items: start; padding-top: clamp(24px, 2.8vw, 44px); }
.motion-intro-lead hmi-launch { max-width: 420px; margin: 20px 0 0; }
.motion-experience .motion-intro-aside p { margin: 12px 0 18px; }
@media (max-width: 800px) {
  .motion-experience .motion-intro-grid { row-gap: 24px; }
}
