/* present-studio.css: the studio at /present. twelvebell's own chrome (white, ink, one blue, Inter) stays quiet so
   the presentation, in the business's brand, is the only loud thing on the page. */
:root{--ink:#0D0D0D;--text-2:#5D5D66;--text-3:#62626B;--line:#E2E2E6;--bg-2:#F5F5F7;--accent:#2457FF;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);font:400 16px/1.5 'PD Inter',Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.st-skip{position:absolute;left:12px;top:-60px;z-index:60;background:var(--ink);color:#fff;padding:10px 14px;border-radius:10px;text-decoration:none}
.st-skip:focus{top:10px}

/* bar */
.st-bar{position:sticky;top:0;z-index:30;height:56px;display:flex;align-items:center;gap:14px;padding:0 20px;background:rgba(255,255,255,.94);-webkit-backdrop-filter:saturate(1.8) blur(18px);backdrop-filter:saturate(1.8) blur(18px);border-bottom:1px solid var(--line)}
.st-logo{display:inline-flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font-size:19px;font-weight:500;letter-spacing:-.035em}
.st-bar-sep{width:1px;height:18px;background:var(--line)}
.st-bar-t{font-size:15px;font-weight:500;color:var(--text-2)}
.st-back{margin-left:auto;font-size:14px;color:var(--text-2);text-decoration:none;padding:10px 4px}
.st-back:hover{color:var(--ink)}

/* layout */
.st{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);min-height:calc(100svh - 56px)}
.st-side{display:flex;flex-direction:column;gap:24px;padding:36px 28px 40px;border-right:1px solid var(--line)}
.st-h1{margin:0;font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.03em}
.st-lead{margin:-12px 0 0;color:var(--text-2);font-size:16px;max-width:34ch}
.st-group{border:0;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.st-group legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:600}
.st-group legend span{font-weight:400;color:var(--text-3);margin-left:6px}
/* the options arrive from JSON after the first paint: hold their room (three rows each) so nothing below jumps */
.st-kits,.st-decks{display:grid;gap:8px;min-height:239px;align-content:start}

/* options: whole rows are the target */
.st-opt{position:relative;display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;cursor:pointer;transition:border-color .2s,background .2s}
.st-opt:hover{border-color:#CFCFD6}
.st-opt input{position:absolute;opacity:0;pointer-events:none}
.st-opt:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 .5px var(--ink)}
.st-opt:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.st-opt-t{display:grid;min-width:0}
.st-opt-t b{font-size:15px;font-weight:600;letter-spacing:-.01em}
.st-opt-t small{font-size:13px;color:var(--text-3);line-height:1.35}
.st-kit-opt .st-opt-t small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-sw{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.st-sw img{width:20px;height:20px;object-fit:contain}
.is-busy .st-opt{cursor:default;opacity:.6}

.st-go{appearance:none;border:0;min-height:52px;border-radius:999px;background:var(--ink);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s var(--ease),background .2s}
.st-go:hover{background:#2A2A30}
.st-go:active{transform:scale(.98)}
.st-go:disabled{cursor:progress;opacity:.55}

/* the result sits under the stage, next to what it acts on */
.st-ready{width:100%;max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.st-ready-copy{min-width:0}
.st-ready-t{margin:0;font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.25}
.st-ready-m{margin:2px 0 0;color:var(--text-2);font-size:14px}
.st-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.st-prog{width:100%;max-width:1120px;margin:2px auto -6px;height:3px;border-radius:3px;background:#E2E2E6;overflow:hidden}
.st-prog i{display:block;height:100%;background:var(--accent);transform-origin:0 50%;transform:scaleX(0);transition:transform .45s var(--ease)}
.st-btn{appearance:none;min-height:44px;padding:0 18px;border-radius:999px;border:0;background:#fff;box-shadow:inset 0 0 0 1px #CFCFD6;font-size:15px;font-weight:600;cursor:pointer}
.st-btn:hover{background:var(--bg-2)}
.st-btn.is-primary{background:var(--ink);color:#fff;box-shadow:none}
.st-btn.is-primary:hover{background:#2A2A30}
.st-again{appearance:none;border:0;background:none;padding:10px 6px;color:var(--text-2);font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.st-again:hover{color:var(--ink)}

/* the work area */
.st-work{min-width:0;display:flex;flex-direction:column;gap:14px;padding:36px clamp(20px,3vw,48px) 40px;background:var(--bg-2)}
.st-stage{scroll-margin-top:72px;position:relative;width:100%;max-width:1120px;margin:0 auto;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 1px 0 rgba(13,13,30,.04),0 30px 60px -36px rgba(13,13,30,.42);container-type:inline-size}
.st-status{width:100%;max-width:1120px;margin:2px auto 0;min-height:22px;font-size:14px;color:var(--text-2)}
.st-render{position:absolute;inset:0}
.st-render .pd-slide,.st-thumb-in .pd-slide{height:auto;display:block;scroll-snap-align:none;background:none}
.st-render .pd-box,.st-thumb-in .pd-box{width:100%}
.st-frame{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .5s var(--ease)}
.st-stage.is-live .st-frame{opacity:1}

/* the brand, as read: the empty stage */
.st-kit{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:3.6cqw;padding:4.6cqw;background:var(--k-ground);color:var(--k-ink)}
.st-kc-copy{display:flex;flex-direction:column;gap:2.2cqw;min-width:0}
.st-kc-k{margin:0;font-size:1.25cqw;color:var(--k-mist)}
.st-kc-brand{margin:0;display:flex;align-items:center;gap:1cqw;font-family:var(--k-display);font-weight:var(--k-display-weight);letter-spacing:var(--k-display-tracking);font-size:2.4cqw;line-height:1}
.st-kc-brand img{height:2.6cqw;width:auto}
.st-kc-line{margin:0;font-family:var(--k-display);font-weight:var(--k-display-weight);letter-spacing:var(--k-display-tracking);font-size:3.4cqw;line-height:1.08;text-wrap:balance}
.st-kc-sw{list-style:none;margin:auto 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2cqw}
.st-kc-sw li{display:grid;gap:.8cqw;font-size:1.25cqw;line-height:1.3;color:var(--k-ink2)}
.st-kc-sw i{display:block;aspect-ratio:1/1;max-width:5cqw;border-radius:50%;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--k-mist) 45%,transparent)}
.st-kc-type{margin:0;display:flex;align-items:center;gap:1.6cqw;font-size:1.15cqw;line-height:1.4;color:var(--k-ink2)}
.st-kc-aa{font-family:var(--k-display);font-weight:var(--k-display-weight);font-size:4.4cqw;line-height:1;color:var(--k-ink)}
.st-kc-voice{margin:0;padding-left:1.4cqw;border-left:2px solid var(--k-accent);font-size:1.3cqw;color:var(--k-ink2);max-width:40ch}
.st-kc-photos{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:1.2cqw;min-height:0}
.st-kc-photos img{width:100%;height:100%;object-fit:cover;border-radius:1.2cqw;min-height:0}

/* filmstrip */
.st-strip{list-style:none;margin:0 auto;padding:4px 2px 10px;width:100%;max-width:1120px;display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin}
.st-strip li{flex:none}
/* each thumbnail is a drawing of the slide with a plain button laid over it */
.st-th{position:relative;width:168px;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#E8E8ED;box-shadow:0 0 0 1px rgba(13,13,30,.06)}
.st-thumb-in{position:absolute;inset:0;display:block;pointer-events:none}
.st-thumb-n{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:var(--text-3)}
.st-thumb{appearance:none;position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:none;cursor:pointer}
.st-thumb:disabled{cursor:default}
.st-th.is-on{box-shadow:0 0 0 2px var(--bg-2),0 0 0 4px var(--accent)}

.st-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:50;margin:0;padding:12px 18px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;max-width:calc(100vw - 32px);overflow-wrap:anywhere}

@media (max-width:960px){
  .st{grid-template-columns:1fr}
  .st-side{border-right:0;border-bottom:1px solid var(--line);padding:28px 20px 32px}
  .st-work{padding:24px 16px 32px}
  .st-stage{border-radius:12px}
  .st-th{width:136px}
}
@media (max-width:560px){
  .st-bar-sep,.st-bar-t{display:none}
  .st-kit{grid-template-columns:1fr;padding:5cqw}
  .st-kc-photos,.st-kc-voice,.st-kc-type{display:none}
  .st-kc-k{font-size:3cqw}.st-kc-brand{font-size:5cqw}.st-kc-brand img{height:5.4cqw}.st-kc-line{font-size:6.4cqw}
  .st-kc-sw li{font-size:2.6cqw}.st-kc-sw i{max-width:9cqw}
}
@media (prefers-reduced-motion:reduce){.st-frame,.st-go,.st-opt,.st-prog i{transition:none}}
