/* Pionect case: the labs use Pionect's own brand colours exactly as on the local animation studies (localhost:3400/pionect-animations),
   fixed to their light-theme default regardless of boons.design's own light/dark mode, since this is Pionect's colour language, not ours. */
@property --bg{syntax:'<color>';inherits:true;initial-value:#e7e7e8}
@property --surface{syntax:'<color>';inherits:true;initial-value:#f9f9f9}
@property --ink{syntax:'<color>';inherits:true;initial-value:#383174}
@property --ink-strong{syntax:'<color>';inherits:true;initial-value:#15112d}
@property --primary{syntax:'<color>';inherits:true;initial-value:#5246b4}
.cs-lab-stage[data-pionect-anim] {
  --bg: #e7e7e8;
  --surface: #f9f9f9;
  --ink: #383174;
  --ink-strong: #15112d;
  --primary: #5246b4;
  --eb1: #198266;
  --eb2: #e03a26;
  --eb3: #7a6ae0;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  background: var(--bg);
  transition: --bg .6s ease, --surface .6s ease, --ink .6s ease, --ink-strong .6s ease, --primary .6s ease;
}
/* the logo study: hover flips it dark, same as on the local studies */
@media (hover: hover){
.cs-lab-stage[data-pionect-anim="logo"]:hover {
  --bg: #15112d; --surface: #251f4d; --ink: #e7e7e8; --ink-strong: #ffffff; --primary: #9284f4;
}}
/* the gradient study: a click flips it dark (gradient.js itself toggles [data-flip] and re-reads these tokens every frame) */
.cs-lab-stage[data-pionect-anim="gradient"][data-flip="1"] {
  --bg: #15112d; --surface: #251f4d; --ink: #e7e7e8; --ink-strong: #ffffff; --primary: #9284f4;
}
.cs-lab-stage[data-pionect-anim] .stage-note {
  position: absolute; left: 1rem; bottom: .9rem; z-index: 3;
  font: 400 .75rem/1.2 var(--font-mono, monospace); letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); opacity: .7; pointer-events: none;
}

/* the type study needs Pionect's own three fonts, the same files pionect.com and the local studies hotlink: Geist Mono, FKT Gnarly
   (a licensed display face, used here on the owner's own instruction) and Spline Sans. */
@font-face{font-family:"Geist Mono";src:url("https://fonts.gstatic.com/s/geistmono/v4/or3yQ6H-1_WfwkMZI_qYPLs1a-t7PU0AbeE9KJ5W7ihaO_CS.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"FKT Gnarly";src:url("https://framerusercontent.com/assets/hCzDjDJyr1Hhu4nQVzXf4Z4Jiog.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Spline Sans";src:url("https://framerusercontent.com/third-party-assets/fontshare/wf/JS6BLFINJBKRL63KLC4DEWDP5SS44U75/DB7QM3UCDHHQ27Z6JP3ND37AOG2UJRCD/6GXXGWV7H6GFDILIXG6O3VO5YT3LCBJ3.woff2") format("woff2");font-weight:400;font-display:swap}
.cs-lab-stage[data-pionect-anim="type"]{
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --font-display: "FKT Gnarly", "Spline Sans", system-ui, sans-serif;
  --font-body: "Spline Sans", system-ui, sans-serif;
}
