.experience-stack { width:480px; height:560px; position:relative; isolation:isolate; }
.experience-card { position:absolute; margin:0; border:6px solid var(--surface-raised); border-radius:6px; box-shadow:0 16px 32px var(--shadow-card); background:var(--surface-dark); overflow:hidden; transform:rotate(var(--rest)); transition:transform 520ms cubic-bezier(.22,1.28,.36,1); }
.experience-card img { display:block; width:100%; height:100%; object-fit:cover; }
.experience-shoutout { width:250px; height:330px; left:0; top:70px; --rest:-10deg; --hover:-2deg; }
.experience-session { width:250px; height:320px; left:210px; top:0; --rest:8deg; --hover:0deg; }
.experience-call { width:240px; height:300px; left:110px; top:220px; --rest:-3deg; --hover:4deg; }
.experience-card figcaption { position:absolute; left:0; right:0; bottom:0; padding:32px 12px 12px; color:var(--surface-raised); background:linear-gradient(transparent,var(--scrim-caption)); font:600 12px/1.5 var(--body); }
.experience-session figcaption span:first-child { display:block; font-size:10px; font-weight:400; }
.experience-call figcaption { top:0; bottom:auto; background:linear-gradient(var(--scrim-caption-top),transparent); padding:10px 12px 28px; }
.call-hangup { position:absolute; bottom:12px; right:14px; width:32px; height:32px; background:var(--call-end); border-radius:50%; display:grid; place-items:center; }
.call-hangup svg { width:18px; height:18px; fill:none; stroke:var(--surface-raised); stroke-width:1.7; stroke-linejoin:round; }
@media(hover:hover) and (pointer:fine) { .experience-card:hover { transform:scale(1.06) rotate(var(--hover)); } }
.experience-card:focus-visible { transform:scale(1.06) rotate(var(--hover)); outline:3px solid var(--focus-ring); outline-offset:6px; }
.experience-shoutout figcaption,.experience-session figcaption { top:0; bottom:auto; padding:10px 12px 28px; background:linear-gradient(var(--scrim-caption-strong),transparent); }
@media(max-width:760px) {
 .experience-stack { width:340px; height:400px; }
 .experience-shoutout { width:180px; height:240px; left:0; top:50px; }
 .experience-session { width:180px; height:230px; left:160px; top:0; }
 .experience-call { width:175px; height:220px; left:80px; top:150px; }
 .experience-card { border-width:5px; }
 .experience-card figcaption { font-size:10px; padding-inline:8px; }
 .experience-session figcaption span:first-child { font-size:9px; }
 .call-hangup { width:26px; height:26px; right:8px; bottom:8px; }
 .experience-shoutout figcaption,.experience-session figcaption { padding:8px 8px 24px; }
}
@media(max-width:370px) {
 .experience-stack { width:280px; height:340px; }
 .experience-card { transform:scale(.82) rotate(var(--rest)); transform-origin:top left; }
 .experience-shoutout { left:0; top:45px; }
 .experience-session { left:130px; }
 .experience-call { left:66px; top:126px; }
 .experience-card:focus-visible { transform:scale(.86) rotate(var(--hover)); }
}
@media(prefers-reduced-motion:reduce) { .experience-card { transition:none; } .experience-card:hover,.experience-card:focus-visible { transform:rotate(var(--rest)); } }
@media(max-width:370px) and (prefers-reduced-motion:reduce) { .experience-card,.experience-card:hover,.experience-card:focus-visible { transform:scale(.82) rotate(var(--rest)); } }
