@font-face{font-family:PortfolioGilroy;src:url('/_assets/framerusercontent.com/assets/8146yzNKvCxUwupBkhahgl8q4.woff2') format('woff2');font-weight:500 800;font-display:swap}
*{box-sizing:border-box}
html{scrollbar-gutter:stable}
body{margin:0;font:400 1rem/1.65 PortfolioGilroy,Gilroy,Arial,sans-serif;-webkit-font-smoothing:antialiased}
body,p,h1,h2,figure,dl,dd{margin:0}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
a{color:inherit}
img{display:block;max-width:100%}
.play-wrap,.playground-page .portfolio-footer{width:min(calc(100% - var(--portfolio-grid-gutter)*2),75rem);margin-inline:auto}
.play-skip{position:fixed;top:-5rem;left:1rem;z-index:20;padding:.75rem 1rem;background:#fcb410;color:#151718;border-radius:.5rem}
.play-skip:focus{top:1rem}
.play-intro{display:grid;gap:1.5rem;padding:3rem 0}
.play-intro h1{font-size:clamp(3.2rem,6.5vw,5.5rem);font-weight:500;line-height:1.12;letter-spacing:-.035em}
.play-intro>p{max-width:42ch;color:#b8bdbf;font-size:1.0625rem;line-height:1.65}
.play-projects{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;align-items:start;scroll-margin-top:2rem}
.play-project{position:relative;display:flex;flex-direction:column;gap:1.25rem;min-width:0;padding:1.125rem;border:1px solid #ffffff12;border-radius:1rem;background:#222525 url('/surface-dither.svg') repeat;background-size:128px 128px;background-blend-mode:soft-light;color:#f4f4f4;text-decoration:none;isolation:isolate}
/* Same masked highlight, image zoom and title response as the home cards.
   Align the mask with the existing border so it stays one contour. */
.play-project::before{content:"";position:absolute;inset:-1px;z-index:3;padding:1px;border-radius:inherit;background:linear-gradient(135deg,#ffffff70,transparent 65%);mask:linear-gradient(#fff 0 0) content-box exclude,linear-gradient(#fff 0 0);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:0;transition:opacity 450ms var(--theme-ease)}
.play-project-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.play-project h2{font-size:1.25rem;line-height:1.3;letter-spacing:-.02em;font-weight:500;color:#c6c6c6;transition:color 250ms var(--theme-ease)}
.play-project-heading p{margin-top:.25rem;color:#9da3a6;font-size:.875rem;line-height:1.45}
.play-project-art{width:100%;aspect-ratio:2.1;overflow:hidden;border-radius:.65rem;background:#181b1c}
.play-project-art img{width:100%;height:100%;object-fit:cover;transition:transform 600ms var(--theme-ease)}
.play-project:focus-visible{outline:2px solid #fcb410;outline-offset:6px}
.play-project:focus-visible::before{opacity:1}
.play-project:focus-visible h2{color:#fff}
.playground-page .portfolio-footer{padding-block:4rem 3rem}
.playground-page .portfolio-footer .portfolio-nav{justify-content:flex-end}
.playground-modal-open{overflow:hidden}
/* The native dialog owns focus and background inertness. Its full viewport
   backdrop is a real element so opacity can fade in both directions. */
.play-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:1rem;border:0;overflow:hidden;background:transparent;color:#f4f4f4;overscroll-behavior:contain}
.play-dialog[open]{display:grid;place-items:center}
.play-dialog:not([open]){display:none}
.play-dialog::backdrop{background:transparent}
.play-dialog-backdrop{position:absolute;inset:0;background:#07090bd6;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.play-dialog-shell{position:relative;z-index:1;width:min(100%,75rem);max-height:calc(100dvh - 2rem);overflow:auto;overscroll-behavior:contain;border:1px solid #ffffff18;border-radius:1.25rem;background:#1e2223 url('/surface-dither.svg') repeat;background-size:128px 128px;background-blend-mode:soft-light;box-shadow:0 4px 8px -4px #00000024;transform-origin:center;outline:none}
/* A temporary surface and a uniformly scaled image connect card and dialog.
   The real detail content stays at its final dimensions throughout. */
.play-dialog-shell{z-index:2}
.play-dialog-shell.is-morphing{background:transparent;border-color:transparent;box-shadow:none}
.play-morph-surface,.play-morph-image,.play-morph-face{position:fixed;pointer-events:none;transform-origin:0 0;margin:0}
.play-morph-surface{left:0;top:0;z-index:1;background:#1e2223 url('/surface-dither.svg') repeat;background-size:128px 128px;background-blend-mode:soft-light;border:1px solid #ffffff18;contain:strict}
.play-morph-image{left:0;top:0;z-index:3;max-width:none;object-fit:fill;will-change:transform,clip-path}
.play-morph-face{z-index:4;color:#c6c6c6}
.play-morph-face h2{margin:0;font-size:1.25rem;line-height:1.3;letter-spacing:-.02em;font-weight:500}
.play-morph-face p{margin-top:.25rem;color:#9da3a6;font-size:.875rem;line-height:1.45}
.play-dialog-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid #ffffff0d;background:#1e2223}
.play-dialog-top>p{color:#9da3a6;font-size:.8125rem;line-height:1.45;max-width:calc(100% - 3.75rem)}
.play-dialog-top>p>span:first-child{margin-inline:.6rem;color:#fcb410}
.play-dialog-content{display:grid;grid-template-columns:minmax(0,1fr)}
.play-media{position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:4/3;background:#131617;isolation:isolate;overflow:hidden}
.play-media-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;transition:opacity 250ms var(--theme-ease)}
.play-media.is-playing .play-media-poster{opacity:0}
.play-media-stage{position:absolute;inset:0;z-index:1;width:100%;height:100%;background:transparent}
.play-media-stage[hidden]{display:none}
.play-media-stage iframe,.play-media-stage>div{display:block;width:100%;height:100%;border:0}
.play-media.is-loading iframe{opacity:0}
.play-media-stage svg{display:block;width:100%;height:100%}
.playground-page .play-media-start{z-index:2;box-shadow:0 2px 8px #0003}
.playground-page .play-media-start[hidden]{display:none}
.play-media-status{position:absolute;bottom:1rem;left:1rem;right:1rem;z-index:2;color:#d8dbdc;text-align:center;font-size:.875rem}
.play-dialog-copy{min-width:0;padding:2rem 1.5rem 2.5rem}
.play-detail-eyebrow{margin-bottom:1rem;color:#fcb410;font-size:.8125rem;line-height:1.5}
.play-dialog-copy h2{font-size:clamp(2rem,3.2vw,2.75rem);font-weight:500;letter-spacing:-.035em;line-height:1.15;text-wrap:balance}
#project-summary{margin-top:1.5rem;color:#b8bdbf;line-height:1.65}
#project-summary p+p{margin-top:1rem}
.play-project-meta{display:grid;gap:1.25rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #ffffff12;font-size:.875rem;line-height:1.5}
.play-project-meta dt{color:#9da3a6;margin-bottom:.35rem}
.play-project-meta dd{color:#d8dbdc}
.play-source{display:inline-flex;align-items:center;gap:.5rem;margin-top:2rem;text-decoration:underline;text-underline-offset:.25em;color:#c6c6c6;font-size:.875rem}
.play-source[hidden]{display:none}
@media(min-width:600px){.play-dialog{padding:1.5rem}.play-dialog-shell{max-height:calc(100dvh - 3rem)}.play-dialog-copy{padding:2.5rem}.play-project{padding:1.25rem}}
@media(min-width:810px){
 .play-intro{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:4rem;align-items:end;padding:4rem 0 3rem}
 .play-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem}
 .play-dialog{padding:2rem}
 .play-dialog-shell{max-height:calc(100dvh - 4rem);overflow:hidden}
 .play-dialog-top{padding:.875rem 1.25rem}
 .play-dialog-content{grid-template-columns:minmax(0,1.65fr) minmax(17rem,.85fr);height:min(34rem,calc(100dvh - 10rem))}
 .play-media{aspect-ratio:auto;min-height:0;border-right:1px solid #ffffff0d}
 .play-dialog-copy{height:100%;overflow:auto;overscroll-behavior:contain;padding:2rem}
}
@media(hover:hover) and (pointer:fine){
 .play-project:hover::before{opacity:1}
 .play-project:hover h2{color:#fff}
 .play-project:hover img{transform:scale(1.025)}
 .play-source:hover{color:#fcb410}
}
@media(prefers-reduced-motion:reduce){
 .play-project,.play-project h2,.play-project-art img,.play-media-poster{transition:none}
 .play-project::before{transition:opacity 120ms ease}
 .play-project:hover img{transform:none}
 .play-dialog-backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}
}
