/* Vellionix · Creative studio demo (studio.js): a dark showroom for reels, AI images and music videos, and the services-list card (.st-pv). */
.st, .st-pv {
  --bg: #0a0a0b; --panel: #151517; --line: rgba(255, 255, 255, 0.1); --tx: #f4f2ed; --tx2: #b3b0a9; --tx3: #7b7872; --acc: #d7ff3f; --acc-ink: #10120a;
  --e: cubic-bezier(0.16, 1, 0.3, 1); --disp: "Archivo", "Helvetica Neue", Arial, sans-serif; --serif: "Instrument Serif", Georgia, serif;
  font: 400 14px/1.45 "Instrument Sans", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; color: var(--tx); text-align: left;
}
.st *, .st-pv * { box-sizing: border-box; }
.st svg, .st-pv svg { display: block; flex: 0 0 auto; }
:where(.st) button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
:where(.st) a { color: inherit; text-decoration: none; }
.st :is(button, a):focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
:where(.st) :where(p, ul, h3, header, article) { margin: 0; padding: 0; list-style: none; }

.st {
  position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden;
  background: radial-gradient(70% 60% at 85% 0%, rgba(215, 255, 63, 0.1), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(255, 110, 60, 0.12), transparent 62%), var(--bg);
}
.st-nav { display: flex; align-items: center; gap: 14px; padding: 12px clamp(14px, 2cqw, 26px); border-bottom: 1px solid var(--line); }
.st-logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--disp); font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
.st-logo svg { width: 20px; height: 20px; color: var(--acc); }
.st-tabs { margin: 0 auto; display: flex; gap: 3px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.st-tab { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 12.5px; font-weight: 550; color: var(--tx2); white-space: nowrap; transition: background 0.35s var(--e), color 0.35s; }
.st-tab svg { width: 15px; height: 15px; }
.st-tab:hover { color: var(--tx); }
.st-tab.on { background: var(--tx); color: #0b0b0c; }
.st-cta { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: background 0.25s; }
.st-cta svg { width: 15px; height: 15px; }
.st-cta:hover { background: rgba(255, 255, 255, 0.08); }

.st-stage { position: relative; min-height: 0; }
.st-room {
  position: absolute; inset: 0; padding: clamp(16px, 2.4cqw, 34px); opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.985);
  transition: opacity 0.55s var(--e), transform 0.8s var(--e), visibility 0s 0.55s;
}
.st-room.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--e) 0.08s, transform 0.9s var(--e) 0.08s, visibility 0s; }

.st-eye { display: flex; align-items: center; gap: 10px; font: 500 10.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.st-eye::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.st h3 { margin-top: 16px; font-family: var(--disp); font-weight: 600; font-size: clamp(28px, 3.5cqw, 50px); line-height: 0.98; letter-spacing: -0.042em; }
.st h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; color: var(--acc); }
.st-copy > p:not(.st-eye):not(.st-made) { margin-top: 16px; max-width: 40ch; font-size: clamp(13.5px, 1.1cqw, 15.5px); color: var(--tx2); }
.st-list { margin-top: 18px; display: grid; gap: 9px; font-size: 13.5px; }
.st-list li, .st-card li { display: flex; align-items: center; gap: 9px; }
.st-list svg, .st-card li svg { width: 15px; height: 15px; color: var(--acc); }
.st-made { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--tx2); }
.st-made svg { width: 12px; height: 12px; color: var(--acc); }

/* a player sized to fit its space, whatever its shape */
.st-fit { position: relative; min-width: 0; min-height: 0; height: 100%; container-type: size; }
.st-player { position: absolute; inset: 0; margin: auto; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(215, 255, 63, 0.25); opacity: 0; visibility: hidden; transform: scale(0.97); transition: opacity 0.5s var(--e), transform 0.8s var(--e), visibility 0s 0.5s; }
.st-player.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--e), transform 0.9s var(--e), visibility 0s; }
.st-player[data-ar="wide"] { width: min(100cqw, 100cqh * 16 / 9); height: auto; aspect-ratio: 16 / 9; }
.st-player[data-ar="tall"] { height: min(100cqh, 100cqw * 16 / 9); width: auto; aspect-ratio: 9 / 16; }
.st-player video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.st-pp, .st-snd { position: absolute; bottom: 14px; display: inline-flex; align-items: center; justify-content: center; height: 38px; border-radius: 99px; background: rgba(12, 12, 13, 0.62) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff !important; font-size: 12px; font-weight: 600; }
.st-pp { left: 14px; width: 38px; }
.st-pp svg { width: 15px; height: 15px; }
.st-snd { right: 14px; gap: 8px; padding: 0 14px 0 12px !important; }
.st-snd svg { width: 16px; height: 16px; }
.st.is-sound .st-snd { background: var(--acc) !important; color: var(--acc-ink) !important; box-shadow: none; }
.st-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.16); }
.st-bar i { display: block; height: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); }

/* room 1: the reel */
.st-reel, .st-mv { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr); gap: clamp(18px, 3cqw, 44px); align-items: center; }
.st-reel .st-copy, .st-mv .st-copy { align-self: center; }

/* room 2: the image wall */
.st-img { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 12px; }
.st-prompt { min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 7px 8px 7px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.st-model { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--acc); color: var(--acc-ink); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.st-model svg { width: 11px; height: 11px; }
.st-ptext { flex: 1; min-width: 0; font: 400 12.5px/1.35 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ptext i { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--acc); animation: st-blink 1s steps(2) infinite; }
.st-use { flex: 0 0 auto; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.st-grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; min-width: 0; min-height: 0; overflow: hidden; }
.st-tile { position: relative; flex: 0 0 auto; width: 22%; height: 46%; border-radius: 14px; overflow: hidden; background: var(--panel) !important; transition: filter 0.5s, box-shadow 0.4s, transform 0.7s var(--e); }
.st-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e); }
.st-tile span { position: absolute; left: 10px; bottom: 10px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 99px; background: rgba(12, 12, 13, 0.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 11px; font-weight: 600; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.5s var(--e); }
.st-grid:has(.hot) .st-tile:not(.hot) { filter: brightness(0.62) saturate(0.9); }
.st-tile.hot { box-shadow: 0 0 0 2px var(--acc), 0 24px 44px -24px rgba(215, 255, 63, 0.5); }
.st-tile.hot img, .st-tile:hover img { transform: scale(1.04); }
.st-tile.hot span, .st-tile:hover span { opacity: 1; transform: none; }
.st-light { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 0.42fr); gap: clamp(14px, 2.4cqw, 34px); align-items: center; padding: clamp(18px, 3cqw, 44px); background: rgba(8, 8, 9, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; transition: opacity 0.4s; }
.st-light[hidden] { display: none; }
.st-light.on { opacity: 1; }
.st-light > img { justify-self: center; max-width: 100%; max-height: 100%; min-height: 0; border-radius: 16px; object-fit: contain; box-shadow: 0 40px 80px -40px #000; }
.st-lmeta { display: grid; gap: 12px; justify-items: start; align-content: center; }
.st-luse { font-family: var(--disp); font-size: clamp(22px, 2.4cqw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.st-lmeta p { font: 400 12.5px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--tx2); }
.st-lx { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1) !important; }
.st-lx svg { width: 17px; height: 17px; }

/* room 3: songs with video */
.st-tracks { margin-top: 22px; display: grid; gap: 8px; }
.st-track { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px !important; border-radius: 16px; background: rgba(255, 255, 255, 0.05) !important; box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow 0.3s, background 0.3s; }
.st-track > i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); }
.st-track > i svg { width: 14px; height: 14px; }
.st-track b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.st-track small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--tx3); }
.st-track.on { background: rgba(215, 255, 63, 0.08) !important; box-shadow: inset 0 0 0 1px rgba(215, 255, 63, 0.55); }
.st-track.on > i { background: var(--acc); color: var(--acc-ink); }
.st-wave { display: inline-flex; align-items: center; gap: 2px; height: 22px; }
.st-wave i { width: 2px; height: calc(var(--h) * 100%); border-radius: 2px; background: currentColor; opacity: 0.35; transform-origin: 50% 50%; }
.st-lyric { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--acc); }
.st-lyric small { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx3); }
.st-lyric span { display: block; margin-top: 4px; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(16px, 1.6cqw, 21px); line-height: 1.25; }
.st-clips .st-track > svg { width: 18px; height: 18px; color: var(--tx3); }
.st-clips .st-track.on > svg { color: var(--acc); }
.st-track.on .st-wave i, .st-pv .st-wave i { opacity: 1; color: var(--acc); animation: st-wave 1.1s calc(var(--i) * -0.13s) ease-in-out infinite alternate; }
.st:not([data-room="mv"]) .st-track .st-wave i { animation-play-state: paused; }

/* room 4: what you get */
.st-offer { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(14px, 2cqw, 24px); }
.st-offer header { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: end; }
.st-offer header .st-eye { grid-column: 1 / -1; }
.st-offer header > p:last-child { max-width: 34ch; padding-bottom: 4px; font-size: 14px; color: var(--tx2); }
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 0; }
.st-card { display: flex; flex-direction: column; min-height: 0; padding: clamp(10px, 1.1cqw, 14px); border-radius: 20px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.st-card-vis { position: relative; flex: 1 1 0; min-height: 0; border-radius: 14px; overflow: hidden; background: #000; }
.st-card-vis img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-card-vis i { position: absolute; left: 10px; top: 10px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); }
.st-card-vis i svg { width: 17px; height: 17px; }
.st-card > b { margin-top: 14px; font-family: var(--disp); font-size: clamp(19px, 1.9cqw, 26px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.st-card > p { margin-top: 8px; font-size: 13.5px; color: var(--tx2); }
.st-card ul { margin-top: 14px; display: grid; gap: 7px; font-size: 13px; }
.st-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.st-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 99px; background: var(--acc); color: var(--acc-ink) !important; font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.st-btn svg { width: 16px; height: 16px; }
.st-btn.alt { background: none; color: var(--tx) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.st-btn.alt:hover { background: rgba(255, 255, 255, 0.08); }

@keyframes st-blink { 50% { opacity: 0; } }
@keyframes st-wave { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

/* phones */
@container view (max-width: 719px) {
  .st-nav { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .st-cta { margin-left: auto; height: 34px; padding: 0 12px; }
  .st-cta span { display: none; }
  .st-tabs { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .st-tabs::-webkit-scrollbar { display: none; }
  .st-tab { flex: 1 0 auto; justify-content: center; height: 32px; padding: 0 11px; font-size: 12px; }
  .st-tab svg { display: none; }
  .st-room { padding: 14px 12px; }
  .st h3 { margin-top: 12px; font-size: 27px; }
  .st-reel, .st-mv { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 14px; align-items: stretch; }
  .st-reel .st-fit, .st-mv .st-fit { order: -1; }
  .st-reel { grid-template-rows: minmax(0, 0.8fr) auto; }
  .st-copy > p:not(.st-eye):not(.st-made) { margin-top: 10px; font-size: 13.5px; }
  .st-list { display: none; }
  .st-made { margin-top: 12px; font-size: 11.5px; }
  .st-mv .st-copy > p:not(.st-eye) { display: none; }
  .st-tracks { margin-top: 12px; gap: 6px; }
  .st-track { padding: 8px 12px 8px 8px !important; }
  .st-prompt { min-height: 40px; gap: 8px; border-radius: 16px; }
  .st-use { display: none; }
  .st-ptext { font-size: 11.5px; }
  .st-grid { gap: 8px; }
  .st-tile { border-radius: 12px; }
  .st-light { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding: 56px 14px 16px; }
  .st-offer header { grid-template-columns: minmax(0, 1fr); }
  .st-offer header > p:last-child { margin-top: 8px; padding: 0; font-size: 13px; }
  .st-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; overflow: hidden; }
  .st-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; padding: 8px; border-radius: 16px; align-content: center; }
  .st-card-vis { grid-row: 1 / 3; height: 64px; flex: none; border-radius: 11px; }
  .st-card-vis i { display: none; }
  .st-card > b { margin: 0; align-self: end; font-size: 17px; }
  .st-card > p { margin-top: 3px; font-size: 12.5px; }
  .st-card ul { display: none; }
  .st-btn { height: 42px; padding: 0 16px; font-size: 13px; }
}

/* the services-list card */
.st-pv { position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden; background: #0a0a0b; pointer-events: none; }
.st-pv-strip { position: absolute; left: 0; top: 0; height: 100%; display: flex; gap: 8px; padding: 10px 0 10px 10px; width: max-content; will-change: transform; }
.st-pv-f { flex: 0 0 auto; height: 100%; aspect-ratio: var(--ar); border-radius: 12px; overflow: hidden; margin-right: 0; }
.st-pv-f img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-pv-chip { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 12px; border-radius: 99px; background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-size: 11.5px; color: #fff; }
.st-pv-chip svg { width: 12px; height: 12px; color: var(--acc); }
.st-pv-chip b { font-weight: 600; white-space: nowrap; }
.st-pv-chip .st-wave { height: 14px; }
@media (prefers-reduced-motion: reduce) { .st-wave i, .st-ptext i { animation: none !important; } }
@media (max-width: 600px) { .st-pv-chip { left: 9px; bottom: 9px; height: 28px; padding: 0 10px; } .st-pv-chip b { display: none; } }
