/* stx-premium.css: the premium visual layer for the stelix.tech PREVIEW (2026-10-30).
   It loads after site.css and changes only how things look. Copy, headings, meta and
   schema are untouched. Every selector is scoped under .stx (set on <html> in the markup)
   so it outranks site.css's layered rules without !important.
   Anything that hides or moves content is also scoped under .stx-anim, which the inline
   head guard adds only when prefers-reduced-motion is NOT set. */

/* ---------- 1. palette and type scale ---------- */
.stx{
  --bg:#0A0908;--bg-2:#0F0D0B;--surface:#15120F;--surface-2:#1C1815;--surface-3:#241E1A;
  --line:rgba(255,238,222,.08);--line-2:rgba(255,238,222,.05);--line-3:rgba(255,238,222,.14);
  --ink:#F8F4EF;--ink-2:#D2CAC1;--faint:#968B80;--muted:#968B80;
  --accent:#FF6A00;--accent-2:#FF9142;--accent-deep:#FF9142;--accent-soft:rgba(255,106,0,.12);
  --sys-2:#85AAFF;--sys-soft:rgba(61,123,255,.13);--cool:#3D7BFF;
  /* the cream grounds become graphite: every section sits on one dark system */
  --cream:#0F0D0B;--cream-2:#15120F;--cream-card:#15120F;--on-cream:#F8F4EF;--on-cream-2:#D2CAC1;--on-cream-3:#968B80;
  --line-cream:rgba(255,238,222,.08);--line-cream-2:rgba(255,238,222,.05);
  --fs-hero:clamp(2.6rem,6.4vw,6.2rem);--fs-h1:clamp(2.5rem,5.6vw,5rem);--fs-h2:clamp(2.2rem,4.6vw,4.4rem);
  --fs-h3:clamp(1.45rem,2.1vw,2rem);--fs-lead:clamp(1.08rem,1.3vw,1.25rem);
  --r:14px;--r-lg:20px;--r-xl:28px;--maxw:1280px;
  --ease:cubic-bezier(.16,1,.3,1);
  --sec:clamp(96px,11vw,176px);
  background:var(--bg);color-scheme:dark;
}
.stx body{background:var(--bg);color:var(--ink-2);-webkit-font-smoothing:antialiased}
.stx h1,.stx h2,.stx h3{color:var(--ink);font-family:var(--ff-display);font-weight:600}
.stx .future-hero h1,.stx .page-head h1,.stx .section-intro h2,.stx .build-band h2,.stx .team-story h2,
.stx .connection-copy>h2,.stx .future-contact h2,.stx h2{letter-spacing:-.035em;line-height:1.02;text-wrap:balance}
.stx h3{letter-spacing:-.02em;line-height:1.15}
/* the accent half of a headline: a cool-to-warm light, not a second typeface */
.stx .ser{font-family:inherit;font-style:normal;color:transparent;-webkit-text-fill-color:transparent;
  background:linear-gradient(100deg,#FFB27A 0%,#FF6A00 45%,#C9D4FF 110%);-webkit-background-clip:text;background-clip:text}
.stx .studio-label,.stx .service-category,.stx .scene-kicker,.stx .small-note,.stx .hero-bottom>span,
.stx .page-head .eyebrow,.stx .eyebrow,.stx .kicker{font-family:var(--ff-mono);font-size:14px;letter-spacing:.14em;text-transform:uppercase;font-weight:500}
.stx .service-category,.stx .scene-kicker,.stx .studio-label{color:var(--accent-2)}
.stx .service-category--sys,.stx .ground-cream .service-category--sys{color:var(--sys-2)}
.stx .ground-cream .service-category,.stx .ground-cream .scene-kicker{color:var(--accent-2)}
.stx .ground-cream,.stx .ground-cream h2,.stx .ground-cream h3{color:var(--ink)}
.stx .ground-cream p,.stx .ground-cream .section-intro>p{color:var(--ink-2)}
.stx ::selection{background:rgba(255,106,0,.35);color:#fff}

/* iOS status bar, the standing four-part rule: fixed solid strip, solid header that claims
   the inset, document background and theme-color, one colour. */
.stx,.stx body{background:var(--bg)}
.ios-top{position:fixed;top:0;left:0;right:0;height:max(4px,env(safe-area-inset-top));background:#0A0908;z-index:199}
.stx .nav,.stx .nav.is-stuck{background:#0A0908;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid var(--line-2);
  padding-top:env(safe-area-inset-top);height:calc(var(--nav-h) + env(safe-area-inset-top))}
.stx .nav__links>a,.stx .nav__links .has-mega>a{color:var(--ink-2);font-size:15px;letter-spacing:.01em}
.stx .nav__links>a:hover,.stx .nav__links .has-mega>a:hover{color:var(--ink)}
.stx .mega{background:var(--surface);border:1px solid var(--line);box-shadow:0 40px 80px -20px rgba(0,0,0,.7)}
.stx .mobile-menu{background:#0A0908}

/* Full supplied lockup, with its matte removed in a separate PNG. */
.stx{--nav-h:96px}
.stx .nav__inner{min-height:var(--nav-h);gap:20px}
.stx .nav__logo img{width:230px;height:auto;object-fit:contain}
.stx .nav__links{gap:12px}
/* Align the visible mark, accounting for 183px of transparent canvas at 4250px. */
.stx .footer__brand img{width:240px;max-width:100%;height:auto;object-fit:contain;background:none;transform:translateX(-4.305882353%)}
@media(min-width:1024px){
  /* Retain the canvas: 183/4250 of its width precedes the first mark pixel.
     Home's hero uses a 40px inset; the other pages use the shared --pad. */
  .stx .nav__logo img{width:210px;max-width:none;flex:none;margin-left:-9.042353px}
  .stx:has(.future-hero) .nav__inner{padding-inline:clamp(20px,4vw,40px)}
  .stx:has(.future-hero) .footer > .wrap{padding-inline:clamp(20px,4vw,40px)}
}
@media(max-width:1280px){
  .stx .nav__links{display:none}
  .stx .nav__burger{display:flex}
}
@media(max-width:720px){
  /* Match the visible artwork to the content edge, preserving the full canvas. */
  .stx:has(.future-hero) .nav__inner,.stx:has(.future-hero) .footer > .wrap{padding-inline:clamp(20px,4vw,40px)}
  .stx .nav__logo img{width:min(180px,calc(100vw - 160px));max-width:none;flex:none;transform:translateX(-4.305882353%);background:none}
  .stx .footer__brand img{width:180px}
  /* Give phone contact and menu controls their own space above the content. */
  .stx .wa-float{top:calc(26px + env(safe-area-inset-top));right:calc(var(--pad) + 56px);bottom:auto;z-index:201;width:44px;height:44px;min-height:44px;padding:5px}
  .stx .wa-float__ico{width:32px;height:32px}
  .stx .wa-float__ico svg{width:19px;height:19px}
  /* Keep the drawer below the full lockup header, rather than the old 74px bar. */
  .stx .mobile-menu{top:calc(var(--nav-h) + env(safe-area-inset-top));max-height:calc(100dvh - var(--nav-h) - env(safe-area-inset-top))}
}

/* buttons: a lit pill, one accent */
.stx .btn{border-radius:999px;background:linear-gradient(180deg,#FF7D33,#FF5F0A);color:#fff;font-weight:600;letter-spacing:.005em;
  box-shadow:0 0 0 1px rgba(255,238,222,.12) inset,0 10px 30px -10px rgba(255,106,0,.65);transition:box-shadow .3s var(--ease),transform .3s var(--ease)}
.stx .btn:hover{box-shadow:0 0 0 1px rgba(255,238,222,.22) inset,0 16px 40px -10px rgba(255,106,0,.85)}
.stx .text-link{color:var(--ink)}
.stx .text-link::after{background:var(--accent)}

/* the grid every section sits on */
.stx .wrap{max-width:var(--maxw)}
.stx .future-section{padding:var(--sec) 0;position:relative}
.stx .section-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,5vw,80px);align-items:end;margin-bottom:clamp(48px,6vw,88px)}
.stx .section-intro>p{max-width:46ch;font-size:var(--fs-body);line-height:1.6;color:var(--ink-2)}
@media (max-width:860px){.stx .section-intro{grid-template-columns:1fr;gap:20px}}
/* a hairline grid behind the dark grounds, very faint */
.stx .future-section::before,.stx .connection-experience::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(var(--line-2) 1px,transparent 1px),linear-gradient(90deg,var(--line-2) 1px,transparent 1px);
  background-size:96px 96px;-webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000 10%,transparent 75%);mask-image:radial-gradient(ellipse 70% 60% at 50% 30%,#000 10%,transparent 75%);opacity:.6}
.stx .future-section>.wrap,.stx .connection-experience>.wrap{position:relative;z-index:1}

/* ---------- 2. the hero: a laptop that opens, then the camera pushes into its screen ---------- */
.stx .three-story{background:var(--bg)}
.stx .three-stage{display:none}
.stx .future-hero{position:relative;min-height:0;height:auto;padding:0;display:block;overflow:visible;background:none}
.stx .stx-pin{position:relative;height:100vh;height:100svh;min-height:600px;overflow:hidden;
  background:radial-gradient(60% 60% at 72% 58%,rgba(255,106,0,.10),transparent 70%),radial-gradient(50% 50% at 20% 0%,rgba(61,123,255,.07),transparent 70%),var(--bg)}
.stx-anim .future-hero{height:var(--stx-run,360vh)}
.stx-anim .stx-pin{position:sticky;top:0}
/* site.css hides sideways overflow on html and body; "hidden" makes body a scroll container and
   sticky then pins to body, which never scrolls. "clip" crops the same way without that. */
.stx,.stx body{overflow-x:clip}
.stx .future-hero__content{position:absolute;z-index:3;left:0;right:0;top:calc(var(--nav-h) + clamp(20px,5vh,90px));padding:0 clamp(20px,4vw,40px);margin:0 auto;
  max-width:var(--maxw);display:block}
.stx .future-hero__content>*{max-width:min(640px,50%)}
.stx .future-hero h1{font-size:clamp(2.5rem,min(5.1vw,7.4vh),5.2rem);margin:18px 0 22px}
.stx .future-lead{font-size:var(--fs-lead);line-height:1.6;color:var(--ink-2);max-width:52ch!important}
.stx .future-actions{display:flex;flex-wrap:wrap;gap:14px 26px;align-items:center;margin-top:30px}
.stx .studio-label::before{background:var(--accent);box-shadow:0 0 12px var(--accent)}
.stx .hero-bottom{position:absolute;z-index:3;left:0;right:0;bottom:22px;margin:0 auto;max-width:var(--maxw);padding:0 clamp(20px,4vw,40px);color:var(--faint);display:flex;justify-content:space-between}
.stx .motion-toggle{font-family:var(--ff-mono);font-size:14px;color:var(--faint);border:1px solid var(--line);border-radius:999px;padding:7px 14px;background:transparent}
.stx .future-art{display:none}

/* the stage. --u is one hundredth of the screen's width when the camera has fully pushed in:
   the screen then covers the viewport, so every frame before it is the laptop scaled DOWN
   (crisp) rather than a small layer scaled up (blurry). */
.stx-stage{position:absolute;inset:0;z-index:1;pointer-events:none;perspective:2600px;perspective-origin:50% 45%;
  --u:max(1vw,1.6vh)}
@media (max-aspect-ratio:1/1){.stx-stage{--u:1vw;perspective:1600px}}
.stx-halo{position:absolute;left:50%;top:50%;width:120vmax;height:120vmax;margin:-60vmax 0 0 -60vmax;border-radius:50%;
  background:url(/assets/img/stx/halo.webp) center/100% 100% no-repeat;   /* baked by tools/make_halo.py: a mask here re-rasters every frame */
  translate:var(--hx,18vw) var(--hy,8vh);will-change:rotate,translate}
.stx-anim .stx-halo{animation:stx-spin 48s linear infinite}
.motion-paused .stx-halo{animation-play-state:paused}
@keyframes stx-spin{to{rotate:360deg}}
.stx-cam{position:absolute;left:calc(50% - 53*var(--u));top:calc(50% - 34.25*var(--u));width:calc(106*var(--u));height:calc(70*var(--u));
  transform-style:preserve-3d;transform-origin:calc(53*var(--u)) calc(34.25*var(--u));
  transform:translate3d(var(--tx,0px),var(--ty,0px),0) scale(var(--s,1)) rotateX(var(--tilt,0deg)) rotateY(var(--yaw,0deg))}
.stx-float{position:absolute;inset:0;transform-style:preserve-3d}
.stx-laptop{position:absolute;inset:0;transform-style:preserve-3d}
/* base: lies in the floor plane, hinged at the lid's bottom edge, reaching toward the viewer */
.stx-base{position:absolute;left:calc(-4*var(--u));top:100%;width:calc(114*var(--u));height:calc(74*var(--u));transform-origin:50% 0;
  transform:rotateX(90deg);transform-style:preserve-3d;border-radius:calc(2.2*var(--u)) calc(2.2*var(--u)) calc(4.5*var(--u)) calc(4.5*var(--u));
  background:linear-gradient(180deg,#383028 0%,#26201B 40%,#1E1A15 100%);box-shadow:inset 0 0 0 1px rgba(255,238,222,.07)}
.stx-keys{position:absolute;left:12%;right:12%;top:8%;height:46%;border-radius:calc(1*var(--u));
  background:repeating-linear-gradient(90deg,#0F0D0B 0 calc(5.2*var(--u)),transparent calc(5.2*var(--u)) calc(6.2*var(--u))),
             repeating-linear-gradient(180deg,transparent 0 calc(5.4*var(--u)),#26201B calc(5.4*var(--u)) calc(6.6*var(--u)));opacity:.95}
.stx-pad{position:absolute;left:34%;right:34%;top:60%;height:32%;border-radius:calc(1.4*var(--u));background:#2B251F;box-shadow:inset 0 0 0 1px rgba(255,238,222,.06)}
.stx-front{position:absolute;left:0;right:0;bottom:0;height:calc(2.4*var(--u));transform-origin:50% 100%;transform:rotateX(-90deg);
  background:linear-gradient(180deg,#4D4236,#1C1814);border-radius:0 0 calc(4.5*var(--u)) calc(4.5*var(--u))}
/* lid: two faces, hinged at the bottom. --lid -90deg is closed (folded over the base), 0 is upright. */
.stx-lid{position:absolute;inset:0;transform-origin:50% 100%;transform-style:preserve-3d;transform:translateY(calc(-.35*var(--u))) rotateX(var(--lid,0deg))}
.stx-lid-back,.stx-bezel{position:absolute;inset:0;border-radius:calc(2.6*var(--u));-webkit-backface-visibility:hidden;backface-visibility:hidden}
.stx-lid-back{transform:rotateY(180deg) translateZ(1px);background:linear-gradient(160deg,#40372D 0%,#241E19 55%,#302922 100%);
  box-shadow:inset 0 0 0 1px rgba(255,238,222,.09);display:grid;place-items:center;overflow:hidden}
.stx-lid-back img{width:calc(13*var(--u));height:auto;opacity:1;position:relative;z-index:1;transform:scaleX(-1)}
.stx-lid-back::after{content:"";position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 40%,rgba(255,238,222,.10) 50%,transparent 60%);
  translate:var(--sheen,-60%) 0}
.stx-bezel{background:#0A0908;box-shadow:inset 0 0 0 1px rgba(255,238,222,.12),0 0 0 calc(.25*var(--u)) #383028}
.stx-screen{position:absolute;left:calc(3*var(--u));top:calc(3*var(--u));width:calc(100*var(--u));height:calc(62.5*var(--u));
  border-radius:calc(.8*var(--u));overflow:hidden;background:#090807;transform:translateZ(1px);-webkit-backface-visibility:hidden;backface-visibility:hidden}
.stx-wall{position:absolute;inset:0;background:radial-gradient(70% 80% at 80% 100%,rgba(255,106,0,.30),transparent 60%),radial-gradient(60% 70% at 10% 0%,rgba(61,123,255,.22),transparent 60%),#0B0A08;opacity:var(--wall,1)}
.stx-menubar{position:absolute;left:0;top:0;width:100%;height:auto;opacity:var(--menu,1)}
.stx-boot{position:absolute;inset:0;display:grid;place-items:center;opacity:var(--boot,0)}
.stx-boot img{width:calc(9*var(--u));filter:drop-shadow(0 0 calc(3*var(--u)) rgba(255,106,0,.55))}
.stx-win{position:absolute;border-radius:calc(.9*var(--u));overflow:hidden;background:#110E0C;
  box-shadow:0 calc(2*var(--u)) calc(5*var(--u)) rgba(0,0,0,.55),0 0 0 1px rgba(255,238,222,.08);transform-origin:0 0}
.stx-win img{display:block;width:100%;height:auto}
/* resting desk: four windows overlapping like a working screen */
.stx-win--code{left:4%;top:9%;width:52%}
.stx-win--cms{left:44%;top:14%;width:52%}
.stx-win--os{left:12%;top:40%;width:44%}
.stx-win--chat{left:50%;top:44%;width:44%}
.stx-glare{position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,238,222,.07),transparent 38%);opacity:var(--glare,1)}

/* ---------- 3. the static composed hero (reduced motion, or before the script runs) ---------- */
.stx-stage{--s:.42;--tx:22vw;--ty:10vh;--tilt:-12deg;--yaw:-14deg;--lid:4deg;--hx:20vw;--hy:10vh}
@media (max-width:860px){
  .stx .future-hero__content>*{max-width:100%}
  .stx .future-hero h1{font-size:clamp(2.2rem,9.4vw,3.4rem)}
  .stx .future-lead{font-size:16.5px}
  .stx .hero-bottom>span{display:none}
  .stx-stage{--s:.62;--tx:0px;--ty:34vh;--tilt:-16deg;--yaw:0deg;--hx:0vw;--hy:30vh}
}
/* motion on: the first painted frame is already the closed rest pose the script starts from */
.stx-anim .stx-stage{--s:.36;--tx:24vw;--ty:-10vh;--tilt:-52deg;--yaw:-24deg;--lid:-90deg;--hx:24vw;--hy:-10vh;--boot:0}
.stx-anim .stx-win{opacity:0}
@media (max-aspect-ratio:1/1){.stx-anim .stx-stage{--s:.42;--tx:0px;--ty:33vh;--tilt:-50deg;--yaw:-10deg;--hx:0vw;--hy:33vh}}
/* reduced motion: the composed hero is the whole hero, no pinning, laptop open */
.stx:not(.stx-anim) .stx-pin{height:auto;min-height:100svh}
.stx:not(.stx-anim) .future-hero__content{position:relative;top:auto;padding-top:calc(var(--nav-h) + 72px);padding-bottom:clamp(360px,44vw,420px)}
@media (min-width:861px){.stx:not(.stx-anim) .future-hero__content{padding-bottom:120px;min-height:calc(100svh - 0px)}}
@media (max-width:860px){.stx:not(.stx-anim) .stx-stage{--ty:calc(50svh - 30vw);top:auto;height:100vw}}

/* ---------- 4. confidence strip: three figures on hairlines ---------- */
.stx .confidence-strip{background:var(--bg);border-block:1px solid var(--line)}
.stx .confidence-strip .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding-block:0}
.stx .confidence-strip p{margin:0;padding:clamp(28px,4vw,52px) clamp(16px,2.5vw,36px);color:var(--ink-2);font-size:var(--fs-body);border-left:1px solid var(--line)}
.stx .confidence-strip p:first-child{border-left:0}
.stx .confidence-strip strong{display:block;font-family:var(--ff-display);font-size:clamp(2rem,3.6vw,3.2rem);font-weight:600;letter-spacing:-.03em;color:var(--ink);line-height:1;margin-bottom:10px}
@media (max-width:700px){.stx .confidence-strip .wrap{grid-template-columns:1fr}.stx .confidence-strip p{border-left:0;border-top:1px solid var(--line);padding:24px 4px}.stx .confidence-strip p:first-child{border-top:0}}

/* ---------- 5. website + system: two nodes and the line between them ---------- */
.stx .connection-experience{min-height:0;padding:var(--sec) 0;background:var(--bg);border-bottom:1px solid var(--line)}
.stx .connection-experience .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center}
.stx .connection-copy>h2{font-size:var(--fs-h2);margin:16px 0 34px}
.stx .scene-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.stx .scene-tabs button{border-radius:999px;padding:10px 20px;color:var(--ink-2);background:transparent;border:0;font-size:15px}
.stx .scene-tabs button[aria-selected=true]{background:var(--surface-3);color:var(--ink);box-shadow:0 0 0 1px var(--line-3) inset}
.stx .scene-panel{margin-top:30px;padding:28px;border-radius:var(--r-lg);background:linear-gradient(180deg,var(--surface),var(--bg-2));border:1px solid var(--line)}
.stx .scene-panel h3{font-size:var(--fs-h3);margin:0 0 10px}
.stx .scene-fallback{visibility:visible;position:relative;inset:auto;width:auto;height:clamp(300px,34vw,440px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12%;
  padding:0 4%;perspective:1200px}
.stx .scene-fallback span{position:relative;z-index:1;display:grid;place-items:end start;aspect-ratio:3/4;padding:22px;border-radius:var(--r-lg);
  font-family:var(--ff-mono);font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);
  background:linear-gradient(160deg,rgba(255,238,222,.06),rgba(255,238,222,.01)),var(--surface);border:1px solid var(--line-3);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.8);transition:transform .8s var(--ease),border-color .4s}
.stx .connection-copy{max-width:none;padding:0}
.stx .scene-panel{max-width:none}
/* each card holds a window onto the real thing: our own website build and the StelixOS dashboard */
.stx .scene-fallback span::before{content:"";position:absolute;left:12px;right:12px;top:12px;bottom:64px;border-radius:calc(var(--r-lg) - 8px);
  background:url(/assets/img/built/impakweb.jpg) left top/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,238,222,.08);opacity:.9}
.stx .scene-fallback span:last-child::before{background-image:url(/assets/img/os/dashboard.webp);background-position:left top}
.stx .scene-fallback span::after{content:"";position:absolute;left:22px;bottom:30px;width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent)}
.stx .scene-fallback span:last-child::after{background:var(--cool);box-shadow:0 0 12px var(--cool)}
.stx .scene-fallback span{padding:0 16px 24px 40px;white-space:nowrap;font-size:14px}
.stx .scene-fallback::before{content:"";position:absolute;left:30%;right:30%;top:50%;height:2px;
  background:repeating-linear-gradient(90deg,var(--accent) 0 10px,transparent 10px 20px);background-size:40px 2px;opacity:.8}
.stx-anim .scene-fallback::before{animation:stx-flow 1.2s linear infinite}
@keyframes stx-flow{to{background-position:40px 0}}
.stx .three-story[data-sel="0"] .scene-fallback span:first-child,.stx .three-story[data-sel="1"] .scene-fallback span:last-child{border-color:rgba(255,106,0,.55);transform:translateY(-10px) rotateY(var(--ry,0deg))}
@media (max-width:860px){.stx .connection-experience .wrap{grid-template-columns:1fr}.stx .scene-fallback{height:260px;gap:12%}}

/* ---------- 6. two services: cards that flip up into place ---------- */
.stx .service-duo{gap:clamp(16px,2vw,28px);perspective:1600px}
.stx .duo-card{background:linear-gradient(180deg,var(--surface),var(--bg-2));border:1px solid var(--line);border-radius:var(--r-xl);color:var(--ink);
  transform-origin:50% 100%;position:relative;transition:border-color .4s,box-shadow .5s var(--ease)}
.stx .duo-card:hover{border-color:rgba(255,106,0,.4);box-shadow:0 40px 80px -40px rgba(255,106,0,.35);transform:none}
.stx .duo-card--sys:hover{border-color:rgba(61,123,255,.45);box-shadow:0 40px 80px -40px rgba(61,123,255,.35)}
.stx .duo-card__shot{overflow:hidden;aspect-ratio:16/9;-webkit-mask-image:linear-gradient(#000 60%,transparent);mask-image:linear-gradient(#000 60%,transparent)}
.stx .duo-card__shot img{width:100%;height:100%;object-fit:cover;filter:saturate(.75) contrast(1.05) brightness(.85);transition:transform 1.2s var(--ease)}
.stx .duo-card:hover .duo-card__shot img{transform:scale(1.04)}
.stx .duo-card__body{padding:clamp(24px,3vw,40px);margin-top:-40px;position:relative}
.stx .duo-card h3{font-size:var(--fs-h3);color:var(--ink)}
.stx .duo-card p{color:var(--ink-2)}
.stx .duo-list{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid var(--line);margin:22px 0}
.stx .duo-list li{padding:12px 0;border-bottom:1px solid var(--line-2);color:var(--ink-2);font-size:var(--fs-body)}
.stx .service-link{color:var(--ink);font-weight:600}

/* ---------- 7. how we work: photo with depth, steps on a grid ---------- */
.stx .build-band{background:var(--bg-2);border-block:1px solid var(--line);grid-template-columns:1fr 1.1fr;min-height:0;overflow:hidden}
.stx .build-band__photo{position:relative;overflow:hidden}
.stx .build-band__photo img{width:100%;height:118%;object-fit:cover;filter:saturate(.6) brightness(.7);translate:0 var(--px,-8%)}
.stx .build-band__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 40%,var(--bg-2)),linear-gradient(0deg,rgba(255,106,0,.12),transparent 50%)}
.stx .build-band__copy{padding:var(--sec) clamp(24px,5vw,80px)}
.stx .build-band h2{font-size:var(--fs-h2);margin:16px 0 20px}
.stx .build-steps{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin:36px 0;border-top:1px solid var(--line);counter-reset:s}
.stx .build-steps li{padding:22px 18px 22px 0;border-bottom:1px solid var(--line);color:var(--ink-2);counter-increment:s}
.stx .build-steps li b{display:block;color:var(--ink);font-family:var(--ff-display);font-size:var(--fs-point);margin-bottom:4px}
.stx .build-steps li b::before{content:"0" counter(s);display:block;font-family:var(--ff-mono);font-size:14px;color:var(--accent-2);margin-bottom:10px;letter-spacing:.1em}
@media (max-width:860px){.stx .build-band{grid-template-columns:1fr}.stx .build-band__photo{height:56vw}.stx .build-band__photo::after{background:linear-gradient(0deg,var(--bg-2),transparent 60%)}}

/* ---------- 8. products: a segmented control and a panel that turns over ---------- */
.stx .product-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface);position:relative}
.stx .product-tabs button{padding:22px 24px;text-align:left;background:transparent;border:0;border-left:1px solid var(--line);color:var(--ink);font-family:var(--ff-display);font-size:20px;font-weight:600}
.stx .product-tabs button:first-child{border-left:0}
.stx .product-tabs button span{display:block;font-family:var(--ff-body);font-weight:400;font-size:15px;color:var(--faint);margin-top:4px}
.stx .product-tabs button[aria-selected=true]{background:var(--surface-3)}
.stx .product-tabs button[aria-selected=true]::after{background:transparent}
.stx-tab-marker{position:absolute;left:0;top:0;height:2px;width:0;background:linear-gradient(90deg,var(--accent),var(--accent-2));box-shadow:0 0 12px var(--accent);pointer-events:none;transition:transform .6s var(--ease),width .6s var(--ease)}
.stx .product-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(28px,5vw,72px);align-items:center;padding-top:clamp(40px,5vw,72px);perspective:1800px}
/* Author display rules override the browser's hidden style. Keep inactive tabs out of layout. */
.stx .product-panel[hidden]{display:none}
.stx .product-copy h3{font-size:var(--fs-h3)}
.stx .product-screen{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line-3);box-shadow:0 60px 120px -50px rgba(0,0,0,.9),0 0 0 8px rgba(255,238,222,.02);
  transform:rotateY(-8deg) rotateX(4deg);transform-origin:0 50%;transition:transform 1s var(--ease)}
.stx .product-panel:hover .product-screen{transform:rotateY(-3deg) rotateX(2deg)}
.stx .product-screen img{display:block;width:100%;height:auto}
.stx-anim .product-panel.stx-turn .product-screen{animation:stx-turn .9s var(--ease) both}
.stx-anim .product-panel.stx-turn .product-copy{animation:stx-rise .7s var(--ease) both}
@keyframes stx-turn{from{opacity:0;transform:rotateY(-70deg) rotateX(4deg)}to{opacity:1;transform:rotateY(-8deg) rotateX(4deg)}}
@keyframes stx-rise{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
@media (max-width:860px){.stx .product-tabs{grid-template-columns:1fr}.stx .product-tabs button{border-left:0;border-top:1px solid var(--line)}.stx .product-tabs button:first-child{border-top:0}
  .stx .product-panel{grid-template-columns:1fr}.stx .product-screen{transform:none}}

/* ---------- 9. recent projects ---------- */
.stx .work-selection{background:var(--bg)}
.stx .work-selection .section-intro{grid-template-columns:1fr auto}
.stx .selected-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.4vw,32px);perspective:1600px}
.stx .selected-project{display:block;color:var(--ink);transform-style:preserve-3d;transition:transform .6s var(--ease)}
.stx .selected-project>div{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);aspect-ratio:16/10}
.stx .selected-project img{width:100%;height:112%;object-fit:cover;object-position:top;translate:0 var(--px,0%);transition:filter .6s}
.stx .selected-project h3{margin:22px 0 6px;font-size:22px}
.stx .selected-project p{color:var(--ink-2)}
@media (max-width:700px){.stx .selected-grid{grid-template-columns:1fr}}

/* ---------- 10. team ---------- */
.stx .team-story .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,6vw,96px);align-items:center}
.stx .team-story h2{font-size:var(--fs-h2);margin:16px 0 20px}
.stx .team-story__photo{border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;position:relative}
.stx .team-story__photo img{width:100%;height:120%;object-fit:cover;translate:0 var(--px,-8%);filter:saturate(.85)}
.stx .team-story__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(200deg,transparent 50%,rgba(255,106,0,.18))}
@media (max-width:860px){.stx .team-story .wrap{grid-template-columns:1fr}}

/* ---------- 11. closing call: the biggest type on the page over moving light ---------- */
.stx .future-contact{position:relative;overflow:hidden;isolation:isolate;padding:calc(var(--sec)*1.2) 0;background:var(--bg);border-top:1px solid var(--line);text-align:center}
.stx .future-contact .wrap{display:flex;flex-direction:column;align-items:center}
.stx .future-contact h2{font-size:var(--fs-section);margin:18px 0 36px}
.stx .future-contact .future-actions{justify-content:center}
.stx .future-contact::before,.stx .future-contact::after{content:"";position:absolute;z-index:-1;width:70vmax;height:70vmax;border-radius:50%;pointer-events:none}
.stx .future-contact::before{left:-25vmax;top:-30vmax;background:radial-gradient(closest-side,rgba(255,106,0,.20),transparent)}
.stx .future-contact::after{right:-25vmax;bottom:-35vmax;background:radial-gradient(closest-side,rgba(61,123,255,.14),transparent)}
.stx-anim .future-contact::before{animation:stx-drift 18s ease-in-out infinite alternate}
.stx-anim .future-contact::after{animation:stx-drift 22s ease-in-out infinite alternate-reverse}
@keyframes stx-drift{to{translate:12vmax 8vmax}}
.motion-paused .future-contact::before,.motion-paused .future-contact::after,.motion-paused .scene-fallback::before{animation-play-state:paused}

/* ---------- 12. inner pages: same palette, glass cards, page heads with light ---------- */
.stx .page-head{background:radial-gradient(60% 90% at 85% 0%,rgba(255,106,0,.14),transparent 60%),radial-gradient(50% 70% at 0% 100%,rgba(61,123,255,.08),transparent 60%),var(--bg);border-bottom:1px solid var(--line)}
.stx .page-head h1{font-size:var(--fs-h1)}
.stx .section--cream,.stx .section--line{background:var(--bg)}
.stx .svc,.stx .work,.stx .prod,.stx .feat,.stx .card,.stx .proc__step,.stx .faq__item,.stx .mem,.stx .cinfo__item,.stx .loop__step,.stx .bento>*{
  background:linear-gradient(180deg,var(--surface),var(--bg-2));border-color:var(--line);color:var(--ink-2)}
.stx .svc h3,.stx .work h3,.stx .prod h3,.stx .feat h3,.stx .card h3,.stx .mem h3{color:var(--ink)}
.stx .cta{background:radial-gradient(60% 120% at 50% 100%,rgba(255,106,0,.16),transparent 60%),var(--bg)}
.stx input,.stx textarea,.stx select{background:var(--surface);border-color:var(--line-3);color:var(--ink)}
.stx .footer{background:#050403;border-top:1px solid var(--line)}
/* On phones, the closing section and footer should not stack desktop-sized
   empty bands. Keep the artwork, header and larger viewports unchanged. */
@media(max-width:720px){
  .stx .future-contact,.stx main>.cta:last-child{padding-bottom:32px}
  .stx .footer{padding-top:24px}
}
.stx .footer__col h3{font-family:var(--ff-mono);font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);font-weight:500}

/* ---------- 13. motion primitives (only under .stx-anim) ---------- */
.stx-anim .stx-flip{transform-origin:50% 100%}
.stx-w{display:inline-block}
.stx-anim [data-reveal]{animation:none}
.stx-spot{position:relative}
.stx-spot::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .35s;z-index:2;
  background:radial-gradient(420px circle at var(--sx,50%) var(--sy,50%),rgba(255,238,222,.07),transparent 65%)}
.stx-spot:hover::after{opacity:1}

@media (prefers-reduced-motion:reduce){
  .stx *{scroll-behavior:auto}
  .stx-tab-marker{transition:none}
  .stx .duo-card__shot img,.stx .product-screen{transition:none}
}
/* a long list beside one screenshot: the screenshot rides along while the list scrolls */
@media (min-width:861px){.stx .svc-split{align-items:start}.stx .svc-split__shot{position:sticky;top:calc(var(--nav-h) + 40px)}}
.stx .svc-split__shot{border-color:var(--line-3);background:var(--surface)}
/* compositor path (ViewTimeline): the resting light over the lid runs on its own clock */
.stx-tl .stx-lid-back::after{animation:stx-sheen 12.2s linear infinite}
.motion-paused .stx-tl .stx-lid-back::after{animation-play-state:paused}
@keyframes stx-sheen{from{translate:-110% 0}to{translate:110% 0}}

/* Editorial artwork replaces the four stock-photo placements. Its frame belongs to
   the same grid as the page; the light moves gently over the etched composition. */
.stx .stx-editorial{position:relative;isolation:isolate;aspect-ratio:4/3;overflow:hidden;
  background:#0D0B09;border:1px solid var(--line);border-radius:var(--r-xl)}
.stx .stx-editorial img{display:block;width:100%;height:100%;object-fit:contain;
  translate:none;transform:none;filter:none}
.stx .duo-card__shot.stx-editorial{-webkit-mask-image:none;mask-image:none}
.stx .duo-card__shot.stx-editorial + .duo-card__body{margin-top:0}
.stx .duo-card:hover .stx-editorial img{transform:none}
.stx .stx-editorial::after{content:"";position:absolute;inset:-25%;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,rgba(255,145,66,.065) 50%,transparent 70%);
  transform:translateX(-15%)}
.stx-anim .stx-editorial::after{animation:stx-editorial-light 16s ease-in-out infinite alternate}
.motion-paused .stx-editorial::after{animation-play-state:paused}
@keyframes stx-editorial-light{to{transform:translateX(15%)}}
@media(prefers-reduced-motion:reduce){.stx .stx-editorial::after{animation:none}}


/* ---------- CI consistency (2026-11-03, Brand Kit v1.0) ----------
   The course page's legacy price markup sets Space Grotesk inline (off-CI, never loaded, so it fell back to
   the OS sans). Display numerals use Instrument Sans; !important is needed only to beat the inline style. */
.stx [style*="Space Grotesk"]{font-family:var(--ff-display)!important}
/* the big price never breaks inside the number; its "incl. 8% SST" note drops below on narrow phones */
.stx .price-card [style*="Space Grotesk"]{white-space:nowrap;font-size:clamp(2.2rem,10.5vw,3.4rem)!important}
.stx .price-card div:has(>[style*="Space Grotesk"]){flex-wrap:wrap}
.stx .price-inline{flex-wrap:wrap}
.stx .price-inline>span:first-child{white-space:nowrap}
/* 2026-11-14 Stephy: brand orange, colour only (same font, size, weight, never italic) */
.stx .faq__q{transition:color .25s ease}
.stx .faq__item.is-open .faq__q{color:var(--accent)}
.stx .stx-orange-titles .svc h3{color:var(--accent)}
/* 2026-11-14 14:43-14:58 Stephy batch: orange titles, bigger where asked, FAQ split layout, paragraph spacing */
.stx .build-kinds b{color:var(--accent)}
.stx .build-kinds.stx-cream-titles b{color:var(--ink)}
.stx .proc__step h4{color:var(--ink);font-size:var(--fs-h4)}
.stx .proc__step::after{border-top-color:var(--accent);border-right-color:var(--accent)}
.stx .os-gallery .os-cap b{color:var(--ink);font-size:var(--fs-lead)}
.stx .prod__name{color:var(--accent)}
.stx .faq-split{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:72px;align-items:start}
.stx .faq-split>h2{margin:0;position:sticky;top:120px}
.stx .faq-split .faq{max-width:none;width:100%}
@media(max-width:999px){.stx .faq-split{grid-template-columns:1fr;gap:20px}.stx .faq-split>h2{position:static}}
.stx .answer-text p+p{margin-top:18px}
/* Solutions menu (2026-11-25): an odd last item spans the second row; blue stays on Websites, not on whichever item is last */
.stx .mega__item:last-child:nth-child(odd){grid-column:1/-1}
.stx .mega__item:last-child .mega__ico{background:var(--accent-soft);border-color:rgba(255,106,0,.24);color:var(--accent)}
.stx .mega__item[href="/services/web-development/"] .mega__ico{background:var(--sys-soft);border-color:rgba(61,123,255,.3);color:var(--sys-2)}
