/* Materia's public-site palette and spacing, adapted to the media playground. */
:root{--bg:#080c12;--panel:#111b28;--ink:#e1e9f2;--muted:#97a9bf;--line:#2b3a4d;--accent:#99b9e5;--soft:#172434;--radius:0px;color-scheme:dark}
html{scroll-behavior:smooth}body{background:var(--bg);color:var(--ink)}
header,main,footer{max-width:1600px;margin:auto;padding-left:5vw;padding-right:5vw}
.public-nav{height:auto;padding-top:26px;padding-bottom:22px;border:0;position:relative}.public-nav::after{content:'';height:1px;background:#28313e;position:absolute;bottom:0;left:5vw;right:5vw}.public-nav .brand{font-size:28px;text-decoration:none}.brand .brand-word{color:inherit;padding:0}.public-nav nav{gap:28px;font-size:11px;color:#a5b3c5}.public-nav button{border:1px solid #334051;background:transparent;color:inherit;min-width:32px;min-height:32px}
h1{margin:0;line-height:1.03}.hero-kicker{font:10px/1.6 monospace;letter-spacing:1.6px}.hero-bottom p{font-size:14px}.hero-bottom a{display:inline-flex;gap:30px}.playground-heading{padding:65px 0 28px;scroll-margin-top:15px}.playground-heading>span{font:10px/1.6 monospace;letter-spacing:1.6px;color:#8fa7c6}.playground-heading h2{font-size:clamp(36px,5vw,72px);letter-spacing:-.055em;font-weight:500;margin:18px 0}.playground-heading p{color:#8c9cb1;font-size:14px}
.source-bar{padding:18px 0;border-top:1px solid var(--line);margin:0}.source-options,.source-options button,#video-play,select,.layer-row,.layer-row button,.stack-tools button,.effect,.thumb,.catalog-tools input,.actions button,.export-section,.code-block{border-radius:2px}.source-options button[aria-pressed=true]{background:#b5c9e3;color:#101b29;box-shadow:none}.source-options svg path{fill:#101b29}.lab{gap:20px;grid-template-columns:minmax(0,1fr) 350px}.stage-shell{height:70svh;max-height:850px;top:20px}.stage-shell,aside{border-color:var(--line)}aside{max-height:70svh;min-height:340px}.inspector h2{font:500 25px 'DM Sans',sans-serif;letter-spacing:-.7px}.layer-row button:hover{background:#b5c9e322}select{background-color:#172434;border-color:#3b506a;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2397a9bf' stroke-width='1.5'/%3E%3C/svg%3E")}.effects{max-height:260px}.export-section{margin:24px 0 64px}footer{padding-top:28px;padding-bottom:36px;align-items:center}footer nav{flex-wrap:wrap;gap:22px;font-size:11px}:focus-visible{outline-color:#9fc9ff}
@media(max-width:1000px){.lab{grid-template-columns:minmax(0,1fr) 310px}.hero-type h1{font-size:11vw}.hero-bottom p{font-size:12px}}
@media(max-width:680px){.public-nav nav{gap:14px}.public-nav .brand{font-size:25px}.showcase-hero{min-height:430px;height:70svh;max-height:600px}.hero-kicker{font-size:8px;letter-spacing:1px}.hero-type{min-height:180px}.hero-type h1{font-size:12vw}.hero-bottom{align-items:start;gap:25px;flex-direction:column}.hero-bottom p{margin:0}.playground-heading{padding-top:40px}.lab{grid-template-columns:1fr}.stage-shell{height:36svh;min-height:220px;top:0}aside{max-height:none}footer{align-items:flex-start}.spatial-title{perspective:650px}.source-bar select{max-width:170px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(forced-colors:active){select{appearance:auto;background-image:none}}
@media(max-width:680px){.public-nav{flex-wrap:wrap;gap:14px}.public-nav>nav{width:100%;justify-content:space-between;gap:12px}.public-nav .brand{margin-right:auto}}

/* The hero demonstrates Prisma on real media; the Materia wordmark stays shared. */
.showcase-hero{height:auto;min-height:0;padding:42px 0 34px;gap:22px}.hero-kicker{margin:0}.media-hero-title{position:relative;font-size:clamp(34px,5vw,64px);letter-spacing:-.055em;font-weight:500}.hero-media{position:relative;width:100%;height:clamp(300px,38vw,520px);overflow:hidden;border:1px solid #28313e;isolation:isolate;background:#173746}.hero-media img{display:block;width:100%;height:100%;object-fit:cover}.hero-caption{position:absolute;z-index:1;bottom:20px;left:22px;color:#fff;font:9px/1.5 monospace;letter-spacing:1.5px;text-shadow:0 1px 5px #000;background:#080c1270;padding:8px 10px}.hero-bottom p{margin:0}.hero-grid,.hero-orbit{display:none}@media(max-width:680px){.showcase-hero{height:auto;max-height:none;padding:30px 0;gap:20px}.hero-media{height:330px}.hero-caption{left:12px;bottom:12px;font-size:8px;letter-spacing:.6px}.hero-bottom{gap:16px}.media-hero-title{font-size:38px}}
/* An immersive live still, framed like an experimental imaging instrument. */
.showcase-hero{position:relative;padding-top:36px;gap:24px;overflow:visible;border-bottom:0}.media-hero-title{z-index:2;font-size:clamp(44px,6vw,82px);line-height:.98;letter-spacing:-.065em}.media-hero-title br{display:none}.media-hero-title em{font-style:normal;color:#ff9769}.hero-frame{position:relative;border:1px solid #45628a;border-radius:18px;background:#0c1522;padding:9px;box-shadow:0 0 0 5px #26395124,0 24px 90px #286dc01c,0 -10px 80px #ff68260a;isolation:isolate}.hero-frame::before{content:'';position:absolute;inset:-30px;z-index:-1;background:radial-gradient(ellipse at 25% 40%,#2578ff20,transparent 60%),radial-gradient(ellipse at 85% 65%,#ff6b281c,transparent 55%);filter:blur(24px);pointer-events:none}.hero-frame-top,.hero-frame-bottom{display:flex;justify-content:space-between;gap:20px;padding:11px 13px;color:#91a7c5;font:9px/1.5 monospace;letter-spacing:1.1px}.hero-frame-top i{display:inline-block;width:5px;height:5px;background:#ff9966;border-radius:50%;margin-right:8px;box-shadow:0 0 10px #ff7d49}.hero-frame-bottom{font-size:9px;letter-spacing:.2px}.hero-media{border-radius:9px;height:clamp(330px,39vw,560px);border:1px solid #42629370}.hero-media img{object-position:center}.hero-caption{font-size:8px;letter-spacing:1px;border:1px solid #ffffff20;background:#08122290;border-radius:4px;backdrop-filter:blur(12px)}.hero-original{position:absolute;z-index:2;bottom:20px;right:20px;min-height:34px;padding:8px 13px;border:1px solid #ffffff60;border-radius:5px;background:#08122290;color:#e6efff;font-size:10px;backdrop-filter:blur(12px);cursor:pointer}.hero-original:hover{background:#25405bb0}.hero-media.show-original img{opacity:1!important}.hero-media.show-original canvas{visibility:hidden}.hero-bottom a{border-color:#ff9769;padding:12px 0;color:#e8effa}.hero-bottom p{font-size:13px}.hero-kicker{color:#95aac7}@media(max-width:680px){.media-hero-title{font-size:47px}.media-hero-title br{display:block}.hero-frame{padding:6px;border-radius:12px}.hero-media{height:370px}.hero-frame-top,.hero-frame-bottom{font-size:7px;letter-spacing:.5px;padding:9px 5px}.hero-frame-bottom span:last-child{display:none}.hero-caption{bottom:55px;left:10px;font-size:7px}.hero-original{bottom:12px;right:12px}.showcase-hero{gap:21px}}
.media-hero-title em{font-family:inherit;font-weight:inherit;display:inline-block;margin-left:.17em}@media(max-width:680px){.media-hero-title em{margin-left:0}}
@media(max-width:680px){.hero-frame::before{inset:-12px}}
.performance-section{padding:80px 0}.performance-section h2,.performance-section h1{font-size:clamp(38px,6vw,80px);font-weight:500;letter-spacing:-.055em;line-height:1.05;margin:25px 0 45px}.performance-metrics{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:26px}.performance-metrics>div{padding:30px 12px 30px 0;display:flex;flex-direction:column;gap:15px}.performance-metrics strong{font-size:clamp(38px,5vw,72px);font-weight:400;letter-spacing:-.05em}.performance-metrics small{font-size:.35em;letter-spacing:0;color:var(--muted)}.performance-metrics span,.measurement-note{font-size:12px;color:var(--muted);line-height:1.7}.performance-section>p{max-width:850px;line-height:1.7}.performance-section>a{display:inline-block;margin-top:20px}@media(max-width:700px){.performance-metrics{grid-template-columns:repeat(2,1fr)}.performance-section{padding:55px 0}}
