.product-library{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(40px,6vw,110px);align-items:center;padding-block:60px 85px}
.library-copy h1{font-size:clamp(40px,3.3vw,64px);line-height:1.13;letter-spacing:-.045em;margin-bottom:28px}
.library-copy .lead{font-size:18px;max-width:49ch}
.library-workflow{list-style:none;padding:0;margin:38px 0 0;display:grid;gap:26px}
.library-workflow li{display:flex;gap:18px;align-items:start}
.library-workflow li>span{font-size:12px;line-height:30px;letter-spacing:.08em;color:var(--accent)}
.library-workflow h2{font:550 20px/1.4 Sora,sans-serif;letter-spacing:-.025em;margin:0 0 6px}
.library-workflow p{font-size:15px;line-height:1.65;max-width:43ch}
.library-preview{min-width:0;margin:0}
.library-window{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:18px;background:#0a0e11;overflow:hidden;aspect-ratio:1440/1271;cursor:zoom-in;box-shadow:0 28px 85px #0003}
/* Frame the library content; omit only the empty side margins of the source. */
.library-window img{display:block;width:177.7778%;max-width:none;height:auto;transform:translateX(-21.875%)}
.editor-themes .section-heading-grid{margin-bottom:0}
.editor-themes .section-title{margin-bottom:0}
.theme-coverflow{margin-top:20px}
.theme-stage{position:relative;height:clamp(330px,39vw,700px);perspective:1800px;isolation:isolate;overflow:hidden;border-radius:20px;background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 70%)}
/* Intentional, user-triggered coverflow movement stays animated; no idle rotation. */
.theme-card{position:absolute;left:50%;top:50%;width:64%;padding:0;border:1px solid #a5bed14d;border-radius:12px;background:#0a0e11;box-shadow:0 26px 60px #0007;transform-style:preserve-3d;backface-visibility:hidden;cursor:pointer;will-change:transform;transition:transform .7s cubic-bezier(.22,1,.36,1),filter .7s ease,box-shadow .7s ease!important}
.theme-card img{display:block;width:100%;height:auto;border-radius:11px}
.theme-card[data-position="0"]{z-index:3;transform:translate(-50%,-50%) translateZ(60px) rotateX(0deg) rotateY(0deg);cursor:zoom-in;box-shadow:0 32px 80px #0008}
.theme-card[data-position="-1"]{z-index:2;transform:translate(-93%,-50%) rotateY(34deg) scale(.88);filter:brightness(.88)}
.theme-card[data-position="1"]{z-index:2;transform:translate(-7%,-50%) rotateY(-34deg) scale(.88);filter:brightness(.88)}
.theme-card[data-position="-2"]{z-index:1;transform:translate(-134%,-50%) rotateY(43deg) scale(.72);filter:brightness(.72)}
.theme-card[data-position="2"]{z-index:1;transform:translate(34%,-50%) rotateY(-43deg) scale(.72);filter:brightness(.72)}
.theme-card:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.theme-navigation{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:8px}
.theme-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.theme-choices button{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:10px 16px;border:1px solid var(--line);border-radius:30px;background:transparent;color:var(--muted);font-size:14px}
.theme-choices button>span{width:12px;height:12px;flex-shrink:0;border-radius:50%;background:var(--swatch)}
.theme-choices button[aria-pressed=true]{color:var(--ink);border-color:var(--accent);background:var(--accent-soft)}
.theme-arrow{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);font-size:21px}
.theme-arrow:hover,.theme-choices button:hover{border-color:var(--accent);color:var(--ink)}
@media(max-width:1050px){.product-library{gap:36px;grid-template-columns:1fr 1.15fr;padding-block:45px 60px}.library-copy h1{font-size:38px}.library-copy .lead{font-size:16px}.library-workflow{gap:20px;margin-top:28px}.library-workflow h2{font-size:18px}.library-workflow p{font-size:14px}.theme-navigation{gap:12px}.theme-choices{gap:7px}.theme-choices button{font-size:13px;padding:9px 12px}}
@media(max-width:750px){.product-library{grid-template-columns:1fr;gap:32px;padding-block:40px 48px}.library-copy h1{font-size:38px}.library-workflow{gap:22px}.library-window{max-width:650px;margin-inline:auto}.theme-coverflow{margin-top:10px}.theme-stage{height:clamp(240px,55vw,390px);margin-inline:-16px;border-radius:0}.theme-card{width:78%;border-radius:8px}.theme-card img{border-radius:7px}.theme-card[data-position="0"]{transform:translate(-50%,-50%) rotateX(0deg) rotateY(0deg)}.theme-navigation{position:relative;padding-bottom:0;gap:8px;align-items:start}.theme-arrow{width:40px;height:40px;flex-basis:40px;font-size:18px}.theme-choices{gap:7px}.theme-choices button{font-size:12px;padding:8px 11px;min-height:40px}.theme-choices button>span{width:10px;height:10px}.editor-themes .section-heading-grid{gap:24px}}

@media(max-width:750px){.library-copy{display:contents}.library-intro{order:0}.library-preview{order:1}.library-workflow{order:2;margin-top:0}}
