/* Revision 13 (12 Nov 2026): Scenes in the hero, the "Made for the session" list and the Scenes gallery. */

/* Hero: Scene renders are lit for their own rooms, so the old After Hours dimming is off. */
.showcase .scene-stage .synth-layer,
.showcase .scene-stage[data-room] .synth-layer{filter:none}

/* Jack, 12 Nov: the synths a little higher and more central, the Download button just above the fold at 1440 x 900
   (first try, 820 px / 33.3%, went too far; this is about halfway back towards the original 930 px / 39%). */
@media(min-width:1051px){
 .showcase .hero{height:850px}
 .showcase .scene-stage{top:35.3%}
}
/* Jack, 12 Nov: the embedded plugin much smaller: at most 960 px (about the plugin's own default window) and 70% of the
   column. native-preview.js scales the 1440 x 900 page to this width. */
@media(min-width:1200px){
 .plugin-preview .native-preview{width:min(70%,960px);margin-inline:auto}
}
@media(min-width:761px) and (max-width:1199px){
 .plugin-preview .native-preview{width:85%;margin-inline:auto}
}

.workflow h2 em,.scenes h2 em{font-style:normal;color:var(--g-cea248,#cea248)}

/* Made for the session: one captured visual per feature (review13/capture-workflow-13.cjs), one line each */
.workflow .section-heading{display:block;text-align:center;max-width:760px;margin-inline:auto}
.workflow .section-heading p{margin:18px auto 0;max-width:560px}
.workflow-list{list-style:none;margin:8px auto 0;padding:0;max-width:1280px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 32px}
.workflow-shot{margin:0 0 20px;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:#0d0c0b;border:1px solid #2f2e2b;box-shadow:0 18px 40px -24px #000}
.workflow-shot img{width:100%;height:100%;object-fit:cover;display:block}
.workflow-list h3{font-size:20px;line-height:1.2}
.workflow-list p{margin-top:8px;font-size:16px;line-height:1.5}

/* Scenes */
.scenes{max-width:1440px;margin:0 auto}
.showcase .scenes.section{padding-bottom:64px}
.scenes .scenes-heading{align-items:end}
.scenes .scenes-heading>p{max-width:470px}
.scene-viewer{margin:0}
.scene-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#0d0c0b}
.scene-frame img{width:100%;height:100%;object-fit:cover;object-position:50% 58%;transition:opacity .22s ease}
.scene-frame img.fading{opacity:0}
.scene-viewer figcaption{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;margin-top:16px;font-size:15px;color:var(--muted)}
.scene-viewer figcaption strong{color:var(--ink);font-size:19px;letter-spacing:-.01em}
.scene-packs{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.scene-packs button{display:inline-flex;align-items:baseline;gap:10px;min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--ink);font-size:14px;font-weight:bold}
.scene-packs button span{font-weight:normal;color:var(--muted);font-size:13px}
.scene-packs button:hover{border-color:var(--ink)}
.scene-packs button[aria-pressed=true]{background:var(--g-d2a855,#d2a855);border-color:var(--g-d2a855,#d2a855);color:#1f1d18}
.scene-packs button[aria-pressed=true] span{color:#38352e}
.scene-picker{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px;margin-top:16px}
.scene-picker button{position:relative;padding:0;border-radius:6px;overflow:hidden;background:#0d0c0b;opacity:.7;transition:opacity .2s}
.scene-picker button:hover,.scene-picker button:focus-visible,.scene-picker button[aria-pressed=true]{opacity:1}
.scene-picker button[aria-pressed=true]{box-shadow:0 0 0 2px var(--g-d2a855,#d2a855)}
.scene-picker img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.scene-picker .free-tag{position:absolute;left:6px;top:6px;padding:2px 6px;border-radius:3px;background:var(--g-d2a855,#d2a855);color:#1f1d18;font-size:11px;font-weight:bold}
.scene-note-small{margin-top:18px;font-size:14px}

/* Bank cards: preset count line */
.showcase .pack-meta p{font-variant-numeric:tabular-nums}

@media(max-width:900px){
 .workflow-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}
 .scene-picker{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:560px){
 .workflow-list{grid-template-columns:1fr;gap:36px}
 .workflow-shot{margin-bottom:16px}
 .workflow-list h3{font-size:19px}
 .workflow-list p{font-size:15px}
 .scene-frame{aspect-ratio:3/2;border-radius:8px}
 .scene-picker{gap:7px}
 .scene-picker .free-tag{font-size:9px;padding:1px 4px;left:4px;top:4px}
 .scene-packs button{flex:1 1 0;justify-content:center;flex-direction:column;align-items:center;gap:2px;padding:10px}
}

/* Revision 14: buy link beside the pack buttons */
.scene-buy{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:11px 16px;border:1px solid var(--g-d2a855,#d2a855);border-radius:5px;color:var(--g-d2a855,#d2a855);font-size:14px;font-weight:bold;text-decoration:none}
.scene-buy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.scene-buy:hover{background:var(--g-d2a855,#d2a855);color:#1f1d18}
@media (max-width:560px){.scene-buy{margin-left:0;flex:1 1 100%;justify-content:center}}
/* Revision 14: Download free asks for an email first (download-signup.js) */
.showcase .free-download-row.asking{flex-wrap:wrap}
.download-form{flex:1 1 100%;display:grid;gap:10px;padding-top:6px}
.download-form[hidden]{display:none}
.download-form label{font-size:15px;font-weight:bold}
.download-field{display:flex;gap:10px}
.download-field input{flex:1 1 auto;min-width:0;min-height:54px;padding:0 16px;border:1px solid #706755;border-radius:5px;background:#191815;color:var(--ink);font:inherit;font-size:16px}
.download-field input:focus{outline:2px solid var(--g-d2a855,#d2a855);outline-offset:2px;border-color:var(--g-d2a855,#d2a855)}
.download-field .button{flex:none;gap:14px;background:var(--g-d4ac5d,#d4ac5d);color:#1f1d18;font-weight:900}
.download-field .button:disabled{opacity:.6}
.showcase .free-download-row .download-small{margin-top:0;font-size:13px;color:var(--muted)}
.showcase .free-download-row .download-small.error{color:#f3b8a6}
@media(max-width:760px){.showcase .free-download-row.asking{grid-template-columns:1fr}.download-field{flex-direction:column}.download-field .button{min-height:52px!important;font-size:15px!important;width:100%}}
.showcase #download-button[hidden]{display:none}
.showcase .free-download-row.asking>div:nth-child(2):empty,.showcase .free-download-row.asking>div:nth-child(2):has(> #download-button[hidden]){display:none}
