/* SITE POLISH (16 Nov 2026, the approved examples: work/marketing-design/site-polish-examples-20261115/proof/studio/). Home only, after
   perth.css; every colour and font is Studio's token. The 3D stage itself is assets/polish/d3.css; the markup comes from tools/site-polish.mjs. */

/* the real Studio screens, riding on the 3D phone's glass (only once the 3D has woken: .d3-layers holds the live screens then) */
.d3-scr{background:var(--sd-canvas)}
.d3-layers .d3-scr .ps,.d3-layers .d3-scr .x-scroller{position:absolute;inset:0}
.d3-layers .d3-scr .p-phone-screen{position:absolute;inset:0;height:100%;aspect-ratio:auto;border-radius:0}
.d3-layers .d3-scr .x-scroller{margin:0;padding:0;max-width:none;width:auto;border-radius:0;background:none;box-shadow:none;animation:none}
.d3-layers .d3-scr .x-scroller::before{display:none}
.d3-scr .x-scroller{cursor:ns-resize}
.d3-scr .x-scroller:focus-visible{outline-offset:-4px}

/* the hero */
.x-phones{display:block!important;max-width:530px!important}
.x-phones .d3{width:127%;margin:-8% -13.5% -11%}
.x-phones .p-hero-fine{margin-top:6px!important}
@media(max-width:900px){.x-phones{max-width:440px!important;margin:0 auto}}

/* the Monday report: the phone sits in the site's own column and is drawn a touch BIGGER than today's flat phone, so its words are never smaller */
.x-report-stage{width:100%;max-width:340px;margin:0 auto}
.x-report-stage .d3{width:162%;margin:-21% -31%}
@media(max-width:900px){.x-report-stage{max-width:320px}}
/* where the 3D doesn't run (phones, weak machines, Save-Data, motion off): today's flat phone, still scrollable, in today's place */
.x-report-stage .d3.is-still{width:100%;margin:0;aspect-ratio:auto}
.x-report-stage .d3.is-still::after,.x-report-stage .d3.is-still .d3-poster{display:none}
.x-report-stage .d3.is-still .d3-dev,.x-report-stage .d3.is-still .d3-scr{display:block;position:static;background:none;overflow:visible}

/* How Studio works, line-drawn */
.x-steps{position:relative;margin-top:36px}
.x-steps .p-loop{margin-top:0}
.x-steps .p-loop li::after{display:none!important}
.x-steps .p-loop li{padding-top:16px}
.x-steps .p-loop li::before{position:absolute;top:14px;left:14px;margin:0}
.x-line{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible}
.x-line path{fill:none;stroke:var(--sd-ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.x-line .x-rail{stroke:var(--sd-line);stroke-width:2;stroke-dasharray:2 7}
.x-line .x-run{stroke:var(--sd-gold-deep)}
.x-ico{display:block;width:160px;max-width:100%;height:auto;aspect-ratio:160/84;margin:0 0 16px auto}
.x-ico path,.x-ico rect,.x-ico circle{fill:none;stroke:var(--sd-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.x-ico .g{stroke:var(--sd-gold-deep);stroke-width:2.5}
/* the site's own highlight: here it travels with the line, then RESTS on Publishes (the site's own turn-taking is held still) */
.x-steps .p-loop li.is-active{background:var(--sd-paper);box-shadow:none;transform:none}
.x-steps .p-loop li.is-active::before{background:var(--sd-gold)}
.x-steps .p-loop li.x-on{background:#f6e08a;box-shadow:3px 4px 0 var(--sd-ink);transform:translateY(-3px)}
.x-steps .p-loop li.x-on::before{background:var(--sd-paper)}
.x-tick{position:absolute;right:-12px;top:-14px;width:42px;height:42px;z-index:3}
.x-tick svg path[fill]:not([fill=none]){fill:var(--sd-ink)}
.x-tick svg path[stroke]:not([stroke=none]){stroke:var(--sd-gold)}
@media(max-width:700px){.x-ico{margin-left:auto}}
