/* KS Phosphor product page + plugins catalog. Static file (not part of the Vite build), loaded only on /plugins routes. */

/* Catalog: stacked product cards on the hub */
.ks-plugin-catalog{display:grid;gap:clamp(1.5rem,3vw,2.5rem)}
.ks-plugin-product-card--blue{border-color:rgb(var(--ks-plugin-blue-rgb) / .35);background:linear-gradient(135deg,rgb(var(--ks-plugin-blue-rgb) / .07),rgb(var(--ks-plugin-pink-rgb) / .025))}
.ks-plugin-product-card--blue:hover{border-color:rgb(var(--ks-plugin-blue-rgb) / .72);box-shadow:0 3rem 8rem #00000080,0 0 4rem rgb(var(--ks-plugin-blue-rgb) / .14)}
.ks-plugin-product-card--blue .ks-plugin-product-card-media img{object-position:center}
.ks-plugin-product-card-copy>span{margin-top:1.6rem;color:#fff;letter-spacing:.12em;text-transform:uppercase;font-size:.74rem;font-weight:900}
.ks-plugin-product-card-copy>span i{font-style:normal;color:var(--ks-plugin-blue)}
@media(max-width:1100px){.ks-plugin-product-card-media{min-height:0;aspect-ratio:16/9}}

/* Hero */
.ks-phosphor-product-name{margin:0 0 clamp(1rem,1.8vw,1.6rem);color:#f5f8fc;font-family:Uftura,sans-serif;font-weight:900;font-size:clamp(1.5rem,2.3vw,2.4rem);line-height:1;letter-spacing:.2em;text-transform:uppercase;text-shadow:0 0 18px rgb(var(--ks-plugin-blue-rgb) / .55),0 0 42px rgb(var(--ks-plugin-blue-rgb) / .25)}
.ks-phosphor-product-name span{color:var(--ks-plugin-blue)}
.ks-phosphor-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ks-plugin-window-media video{display:block;width:100%;height:auto;margin:0;background:#020306}
.ks-phosphor-hero-video .ks-plugin-window-media:after{display:none}

/* Module cards: three equal columns with looping previews */
html body #main .ks-plugin-feature-grid.ks-phosphor-modules>article:nth-child(n){grid-column:span 4!important}
.ks-plugin-feature-media video{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.95) contrast(1.04) brightness(.88);transition:filter .4s,transform .7s cubic-bezier(.2,.7,.2,1);transform:scale(1.015)}
.ks-plugin-feature-grid article:hover .ks-plugin-feature-media video{filter:saturate(1.05) contrast(1.06) brightness(.98);transform:scale(1.045)}
.ks-phosphor-modules .ks-plugin-feature-number{min-width:3rem}
@media(max-width:1100px){html body #main .ks-plugin-feature-grid.ks-phosphor-modules>article:nth-child(n){grid-column:span 12!important}}
@media(min-width:760px) and (max-width:1100px){html body #main .ks-plugin-feature-grid.ks-phosphor-modules>article:nth-child(n){grid-column:span 6!important}html body #main .ks-plugin-feature-grid.ks-phosphor-modules>article:last-child{grid-column:span 12!important}}

/* Vision notice */
.ks-phosphor-notice{margin-top:2rem;padding:1rem 1.15rem;border:1px solid rgb(var(--ks-plugin-blue-rgb) / .4);border-left:3px solid var(--ks-plugin-blue);background:rgb(var(--ks-plugin-blue-rgb) / .06);border-radius:2px}
.ks-phosphor-notice strong{display:block;margin-bottom:.35rem;color:var(--ks-plugin-blue);letter-spacing:.15em;text-transform:uppercase;font-size:.68rem}
.ks-phosphor-notice p{margin:0;color:#d6e0ea;font-size:.92rem;line-height:1.55}
.ks-plugin-feature-grid p.ks-phosphor-notice--inline{margin-top:1rem;padding:.7rem .85rem;font-size:.8rem;color:#b9c6d4}
.ks-plugin-native .ks-plugin-native-copy{border-left-color:rgb(var(--ks-plugin-blue-rgb) / .7)}
.ks-plugin-native.blue-headline:before{content:"LOCAL ONLY";-webkit-text-stroke:1px rgb(var(--ks-plugin-blue-rgb) / .075)}

/* Look gallery */
.ks-phosphor-loop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0;padding:0;list-style:none}
.ks-phosphor-loop{margin:0}
.ks-phosphor-loop figure{position:relative;margin:0;overflow:hidden;border:1px solid #ffffff1f;border-radius:.5rem;background:#020306;transition:border-color .25s,box-shadow .25s,transform .25s}
.ks-phosphor-loop figure:hover{border-color:rgb(var(--ks-plugin-blue-rgb) / .6);box-shadow:0 1.5rem 3rem #00000057,0 0 2rem rgb(var(--ks-plugin-blue-rgb) / .12);transform:translateY(-4px)}
.ks-phosphor-loop video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.ks-phosphor-loop figcaption{position:absolute;inset:auto 0 0 0;display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;padding:1.6rem .85rem .7rem;background:linear-gradient(180deg,transparent,#020306e6)}
.ks-phosphor-loop figcaption span{color:var(--ks-plugin-blue);letter-spacing:.15em;text-transform:uppercase;font-size:.6rem;font-weight:900}
.ks-phosphor-loop figcaption strong{color:#f3f7fb;text-transform:uppercase;font-family:Uftura,sans-serif;font-size:.95rem;letter-spacing:.02em}
@media(max-width:1100px){.ks-phosphor-loop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ks-phosphor-loop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.ks-phosphor-loop figcaption{padding:1.2rem .55rem .5rem}.ks-phosphor-loop figcaption span{display:none}.ks-phosphor-loop figcaption strong{font-size:.78rem}}

/* CTA */
.ks-plugin-cta.blue-headline{background:radial-gradient(circle at 50% 100%,rgb(var(--ks-plugin-blue-rgb) / .17),transparent 45%),linear-gradient(180deg,transparent,rgb(var(--ks-plugin-blue-rgb) / .025))}
.ks-phosphor-cta-actions{justify-content:center}
.ks-plugin-cta p.ks-phosphor-legal{max-width:46rem;margin:3rem auto 0;color:#6f7b8b;font-size:.75rem;line-height:1.5}

@media(prefers-reduced-motion:reduce){.ks-plugin-feature-media video,.ks-phosphor-loop figure{transition:none}}

/* Gumroad download button (primary action, used in hero, band, final CTA) */
.ks-phosphor-gumroad{position:relative;display:inline-grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:1.4rem;align-items:center;min-width:min(100%,21rem);padding:1.05rem 1.35rem 1rem 1.6rem;color:#fff!important;text-decoration:none!important;text-align:left;background:linear-gradient(135deg,rgb(var(--ks-plugin-pink-rgb) / .96),#d80f4d);border:1px solid #ff6f9a;border-radius:3px;box-shadow:0 0 0 1px #000,0 0 1.4rem rgb(var(--ks-plugin-pink-rgb) / .6),0 0 4rem rgb(var(--ks-plugin-pink-rgb) / .25);transition:transform .2s,box-shadow .25s,filter .2s;overflow:hidden;isolation:isolate}
.ks-phosphor-gumroad:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 20%,#ffffff40 48%,transparent 75%);transform:translateX(-120%);animation:ks-phosphor-sheen 4.5s ease-in-out infinite}
.ks-phosphor-gumroad:hover,.ks-phosphor-gumroad:focus-visible{transform:translateY(-3px);filter:saturate(1.1);box-shadow:0 0 0 1px #000,0 0 1.8rem rgb(var(--ks-plugin-pink-rgb) / .85),0 0 5rem rgb(var(--ks-plugin-pink-rgb) / .35)}
.ks-phosphor-gumroad:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ks-phosphor-gumroad-label{grid-column:1;font-family:Uftura,sans-serif;font-size:clamp(1.05rem,1.4vw,1.3rem);letter-spacing:.06em;text-transform:uppercase;line-height:1.1}
.ks-phosphor-gumroad-sub{grid-column:1;margin-top:.3rem;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#ffe3ec}
.ks-phosphor-gumroad-arrow{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:2.6rem;height:2.6rem;border:1px solid #ffffff8c;border-radius:50%;font-size:1.15rem;line-height:1}
@keyframes ks-phosphor-sheen{0%,55%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
.ks-phosphor-hero-actions{align-items:center}
@media(max-width:760px){.ks-phosphor-hero-actions .ks-phosphor-gumroad{width:100%}}

/* Download band between sections */
.ks-phosphor-download-band{border-top:1px solid var(--ks-plugin-line);background:linear-gradient(90deg,rgb(var(--ks-plugin-pink-rgb) / .12),rgb(var(--ks-plugin-pink-rgb) / .03) 55%,rgb(var(--ks-plugin-blue-rgb) / .06));padding:clamp(2rem,4vw,3.25rem) 0}
.ks-phosphor-download-band-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem 3rem}
.ks-phosphor-download-band-inner>div>strong{display:block;color:#fff;font-family:Uftura,sans-serif;font-size:clamp(1.6rem,2.6vw,2.6rem);text-transform:uppercase;line-height:1}
.ks-phosphor-download-band-inner>div>span{display:block;margin-top:.55rem;color:#aeb9c7;font-size:.95rem}

/* Floating dock: appears after the hero, hides at the final CTA */
.ks-phosphor-dock{position:fixed;right:clamp(.75rem,2vw,1.75rem);bottom:clamp(.75rem,2vw,1.75rem);z-index:9000;display:flex;align-items:center;gap:.9rem;padding:.75rem .85rem .75rem 1.1rem;color:#fff!important;text-decoration:none!important;background:#06080dcc;border:1px solid rgb(var(--ks-plugin-pink-rgb) / .75);border-radius:999px;box-shadow:0 1rem 2.5rem #0009,0 0 1.6rem rgb(var(--ks-plugin-pink-rgb) / .35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;transform:translateY(1.5rem);pointer-events:none;transition:opacity .3s,transform .3s,box-shadow .25s}
.ks-phosphor-dock.is-visible{opacity:1;transform:none;pointer-events:auto}
.ks-phosphor-dock:hover{box-shadow:0 1rem 2.5rem #0009,0 0 2.4rem rgb(var(--ks-plugin-pink-rgb) / .6)}
.ks-phosphor-dock-name{font-family:Uftura,sans-serif;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:#cfe9ff}
.ks-phosphor-dock-label{padding:.55rem .9rem;border-radius:999px;background:var(--ks-plugin-pink);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 0 1rem rgb(var(--ks-plugin-pink-rgb) / .6)}
.ks-phosphor-dock-label i{font-style:normal}
@media(max-width:560px){.ks-phosphor-dock{left:.75rem;right:.75rem;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.ks-phosphor-gumroad:before{animation:none}.ks-phosphor-dock{transition:none}}

/* Demo sound toggle */
.ks-phosphor-sound{position:absolute;top:1rem;right:1rem;z-index:3;display:inline-flex;align-items:center;gap:.5rem;padding:.6rem .95rem;color:#fff;font:inherit;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:#06080dcc;border:1px solid rgb(var(--ks-plugin-blue-rgb) / .7);border-radius:999px;box-shadow:0 0 1.2rem rgb(var(--ks-plugin-blue-rgb) / .3);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:box-shadow .2s,border-color .2s}
.ks-phosphor-sound:hover,.ks-phosphor-sound:focus-visible{border-color:var(--ks-plugin-blue);box-shadow:0 0 1.8rem rgb(var(--ks-plugin-blue-rgb) / .55)}
.ks-phosphor-sound[aria-pressed="true"]{border-color:rgb(var(--ks-plugin-pink-rgb) / .8);box-shadow:0 0 1.2rem rgb(var(--ks-plugin-pink-rgb) / .35)}
.ks-phosphor-sound-icon{font-size:1rem;line-height:1}

/* Module media: sharper clips, taller stage */
.ks-phosphor-modules .ks-plugin-feature-media{height:auto;aspect-ratio:16/9}
.ks-phosphor-modules .ks-plugin-feature-media video{filter:saturate(1) contrast(1.03) brightness(.95)}
.ks-phosphor-gumroad-arrow{padding-bottom:.08em}

@media(max-width:560px){.ks-phosphor-sound{top:.5rem;right:.5rem;padding:.4rem .6rem;font-size:.6rem}}

/* Hub card with looping preview */
.ks-plugin-product-card-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .75s cubic-bezier(.2,.7,.2,1),filter .35s}
.ks-plugin-product-card:hover video{filter:saturate(1.08);transform:scale(1.018)}
.ks-plugin-product-card--blue .ks-plugin-product-card-media{min-height:clamp(18rem,30vw,27rem)}
