/* Sandruci showcase · the 3D samples gallery (catalogue/embed.js). Every rule is scoped under .skg and every class is
   prefixed skg-, so the gallery neither styles its host page nor picks up the host's styles. */
.skg{
  --bg:#070a0e; --ink:#f3eee5; --mut:rgba(243,238,229,.62); --dim:rgba(243,238,229,.38); --line:rgba(243,238,229,.14);
  --acc:#aebcd6; --acc-ink:#0a0c10; --pad:max(32px,calc((100vw - 1176px) / 2)); /* the same edges as the site header */
  --disp:"Bricolage Grotesque",system-ui,sans-serif; --text:"Inter Tight",system-ui,sans-serif;
  --ease:cubic-bezier(.16,1,.3,1); --skg-top:68px;
  position:relative;display:block;background:var(--bg);color:var(--ink);font-family:var(--text);text-align:left;line-height:normal;letter-spacing:normal;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overscroll-behavior-y:none;overscroll-behavior-x:none
}
.skg,.skg *,.skg *::before,.skg *::after{box-sizing:border-box}
.skg a{color:inherit}
.skg button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0;margin:0;text-transform:none;letter-spacing:normal;box-shadow:none;min-width:0;min-height:0}
.skg p,.skg h1,.skg h2,.skg h3{margin:0;padding:0;border:0;text-transform:none;color:inherit;background:none}
.skg svg{display:inline-block;vertical-align:middle}
.skg .skg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skg :focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:6px}

/* the hall: one full screen */
.skg .skg-hall{position:relative;height:100vh;height:100svh;overflow:hidden;isolation:isolate}
.skg canvas.skg-stage{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline:0;max-width:none}
.skg canvas.skg-stage.skg-hit{cursor:pointer}.skg canvas.skg-stage.skg-drag{cursor:grabbing}
.skg .skg-shade{position:absolute;inset:0;pointer-events:none;z-index:2;
  background:
    linear-gradient(180deg,rgba(7,10,14,.9) 0,rgba(7,10,14,.55) 18%,rgba(7,10,14,0) 34%),
    linear-gradient(0deg,rgba(7,10,14,.94) 0,rgba(7,10,14,.72) 13%,rgba(7,10,14,0) 31%),
    radial-gradient(120% 90% at 50% 46%,rgba(0,0,0,0) 55%,rgba(0,0,0,.5) 100%)}

/* head: kicker, title, sub line; one tool row (Search, Grid view, then the sector chips); the industries of the sector */
.skg .skg-head{position:absolute;z-index:4;left:0;right:0;top:calc(env(safe-area-inset-top,0px) + var(--skg-top) + 18px);display:flex;flex-direction:column;gap:14px;pointer-events:none}
.skg .skg-intro{padding:0 var(--pad)}
.skg .skg-kick{display:block;margin:0 0 10px;max-width:none;font:600 12px/1.3 var(--text);letter-spacing:.14em;text-transform:uppercase;color:var(--acc);transition:color .6s}
.skg .skg-kick[hidden]{display:none}
.skg .skg-title{margin:0;max-width:none;font:560 clamp(28px,3.1vw,46px)/1.04 var(--disp);letter-spacing:-.035em;color:var(--ink);text-wrap:balance}
.skg .skg-lede{margin:10px 0 0;max-width:62ch;font:400 15px/1.5 var(--text);color:var(--mut);text-wrap:pretty}
.skg .skg-bar{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:0 var(--pad)}
.skg .skg-tools{display:flex;align-items:center;gap:8px;flex:none}
.skg .skg-sep{flex:none;width:1px;height:26px;background:var(--line)}
.skg .skg-search{display:flex;align-items:center;gap:8px;height:44px;margin:0;padding:0 16px 0 15px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line);background:rgba(243,238,229,.04);transition:box-shadow .2s,background .2s;cursor:text}
.skg .skg-search:focus-within{box-shadow:inset 0 0 0 1px var(--acc),0 0 0 2px rgba(80,227,194,.55);background:rgba(243,238,229,.07)}
.skg .skg-search svg{width:15px;height:15px;fill:none;stroke:var(--mut);stroke-width:1.5;stroke-linecap:round;flex:none}
.skg .skg-search input{width:84px;height:auto;margin:0;border:0;border-radius:0;box-shadow:none;background:none;outline:0;color:var(--ink);font:500 14px/1 var(--text);padding:0;-webkit-appearance:none;appearance:none;transition:width .3s var(--ease)}
.skg .skg-search input:focus,.skg .skg-search input:not(:placeholder-shown){width:150px}
.skg .skg-search input::placeholder{color:var(--mut)}
.skg .skg-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.skg .skg-ghost{display:inline-flex;align-items:center;gap:9px;height:44px;padding:0 17px;border-radius:999px;font:500 14px/1 var(--text);box-shadow:inset 0 0 0 1px var(--line);background:rgba(243,238,229,.04);transition:background .2s,box-shadow .2s;white-space:nowrap}
.skg .skg-ghost:hover{background:rgba(243,238,229,.1)}
.skg .skg-ghost svg{width:12px;height:12px;fill:currentColor}
.skg .skg-ghost[aria-pressed=true]{background:var(--ink);color:var(--bg)}

.skg .skg-filters{position:relative;flex:1;min-width:0;display:flex;align-items:center}
.skg .skg-chips{pointer-events:auto;flex:1;min-width:0;display:flex;flex-wrap:nowrap;gap:6px;padding:2px 0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.skg .skg-chips::-webkit-scrollbar{display:none}
.skg .skg-chips.skg-fr{mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 48px),transparent);-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 48px),transparent)}
.skg .skg-chips.skg-fl{mask-image:linear-gradient(90deg,transparent 0,#000 48px,#000);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 48px,#000)}
.skg .skg-chips.skg-fl.skg-fr{mask-image:linear-gradient(90deg,transparent 0,#000 48px,#000 calc(100% - 48px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 48px,#000 calc(100% - 48px),transparent)}
.skg .skg-scroll{position:absolute;z-index:2;top:50%;width:34px;height:34px;margin-top:-17px;border-radius:50%;display:none;place-items:center;background:rgba(7,10,14,.85);box-shadow:inset 0 0 0 1px var(--line)}
.skg .skg-scroll svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.skg .skg-scroll-l{left:0}.skg .skg-scroll-r{right:0}
.skg .skg-scroll:hover{background:rgba(30,34,40,.95)}
@media (hover:hover) and (pointer:fine){.skg .skg-filters:has(.skg-chips.skg-fl) .skg-scroll-l,.skg .skg-filters:has(.skg-chips.skg-fr) .skg-scroll-r{display:grid}}
.skg .skg-chip{position:relative;flex:none;display:inline-flex;align-items:center;gap:7px;height:44px;padding:0 15px;border-radius:999px;font:500 14px/1 var(--text);color:var(--mut);white-space:nowrap;box-shadow:inset 0 0 0 1px var(--line);background:rgba(7,10,14,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:color .2s,background .3s,box-shadow .3s}
.skg .skg-chip i{font-style:normal;font-size:12.5px;color:rgba(243,238,229,.72);font-variant-numeric:tabular-nums;transition:color .2s}
.skg .skg-chip:hover{color:var(--ink);box-shadow:inset 0 0 0 1px rgba(243,238,229,.3)}
.skg .skg-chip[aria-checked=true]{color:var(--acc-ink);background:var(--acc);box-shadow:none}
.skg .skg-chip[aria-checked=true] i{color:rgba(10,12,16,.66)}
.skg .skg-chip svg{width:12px;height:12px;fill:currentColor;align-self:center;margin-right:-1px}
.skg .skg-chip.skg-liked{gap:6px;padding:0 14px}
.skg .skg-chip:focus-visible{outline-offset:-2px;border-radius:999px}

/* layout a (host pages): the statement first, in the host's heading type; the kicker in the host's teal */
.skg.skg-lay-a .skg-head{top:calc(env(safe-area-inset-top,0px) + var(--skg-top) + 30px);gap:18px}
.skg.skg-lay-a .skg-kick{margin-bottom:14px;color:#50e3c2}
.skg.skg-lay-a .skg-title{max-width:15.5em;font:600 clamp(38px,5vw,64px)/1.04 "Inter Tight",Inter,system-ui,sans-serif;letter-spacing:-.03em;color:#fff}
.skg.skg-lay-a .skg-lede{margin-top:14px;font-size:clamp(15px,1.2vw,17.5px);line-height:1.5;text-wrap:balance}
.skg.skg-lay-a .skg-lede .skg-dsk{display:none}
.skg.skg-lay-a .skg-bar{gap:10px}
/* short laptop screens (1280×720, 1366×768): the statement header took 330 px and left the ring a strip; a smaller headline
   (by height), the sub line on one line and tighter gaps give the ring its room back */
@media (max-height:820px) and (min-width:761px){
  .skg.skg-lay-a .skg-head{top:calc(env(safe-area-inset-top,0px) + var(--skg-top) + 14px);gap:12px}
  .skg.skg-lay-a .skg-kick{margin-bottom:8px}
  .skg.skg-lay-a .skg-title{font-size:clamp(34px,6.2vh,64px);max-width:none}
  .skg.skg-lay-a .skg-lede{margin-top:8px;max-width:none;text-wrap:wrap}
}

/* layout b (the showcase's own page): a compact band, the 3D first. One-line headline, the sectors as tabs, the tools at the right end */
.skg.skg-lay-b .skg-head{gap:12px}
.skg.skg-lay-b .skg-title{font:560 clamp(30px,3.3vw,48px)/1.04 var(--disp)}
.skg.skg-lay-b .skg-lede{display:none}
.skg.skg-lay-b .skg-tools{order:3}.skg.skg-lay-b .skg-sep{order:2}
.skg.skg-lay-b .skg-filters{box-shadow:inset 0 -1px 0 var(--line)}
.skg.skg-lay-b .skg-chips{gap:2px}
.skg.skg-lay-b .skg-chip{padding:0 12px;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.skg.skg-lay-b .skg-chip::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:var(--acc);transform:scaleX(0);transition:transform .35s var(--ease)}
.skg.skg-lay-b .skg-chip[aria-checked=true]{background:none;color:var(--ink)}
.skg.skg-lay-b .skg-chip[aria-checked=true]::after{transform:none}
.skg.skg-lay-b .skg-chip[aria-checked=true] i{color:rgba(243,238,229,.72)}
.skg.skg-lay-b .skg-chip:hover{box-shadow:none}
.skg.skg-lay-b .skg-scroll{background:rgba(7,10,14,.92)}
/* our live sites: a small live dot */
.skg .skg-dotlive{align-self:center;width:7px;height:7px;border-radius:50%;background:#50e3c2;box-shadow:0 0 0 3px rgba(80,227,194,.18);margin-right:-1px}
.skg .skg-chip[aria-checked=true] .skg-dotlive{background:#0a7a62;box-shadow:none}

/* the industries of the active sector: quiet text, not pills. Space is kept so the ring does not jump. */
.skg .skg-subs{pointer-events:auto;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 0;min-height:22px;padding:0 var(--pad) 0 calc(var(--pad) + 4px);font:500 12.5px/22px var(--text);color:var(--dim);transition:opacity .35s,transform .45s var(--ease)}
.skg .skg-subs.skg-subs-off{visibility:hidden;opacity:0;transform:translateY(-4px)}
.skg .skg-subs .skg-in{color:var(--dim);margin-right:10px;white-space:nowrap}
.skg .skg-sub{color:var(--mut);padding:0 2px;border-radius:4px;transition:color .2s;white-space:nowrap}
.skg .skg-sub i{font-style:normal;color:var(--dim);margin-left:5px;font-variant-numeric:tabular-nums;font-size:11.5px}
.skg .skg-sub:hover{color:var(--ink)}
.skg .skg-sub[aria-pressed=true]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--acc);text-decoration-thickness:1.5px;text-underline-offset:5px}
.skg .skg-subs .skg-dot{margin:0 9px;color:var(--dim);opacity:.6}

/* labels under the floating screens */
.skg .skg-labels{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.skg .skg-lb{position:absolute;left:0;top:0;white-space:nowrap;text-align:center;will-change:transform,opacity;font:500 12.5px/1.25 var(--text);letter-spacing:.005em}
.skg .skg-lb b{display:block;font:560 14px/1.2 var(--disp);letter-spacing:-.01em}
.skg .skg-lb span{color:var(--mut);font-size:11.5px}
.skg .skg-lb i{display:block;margin-top:3px;font:600 10px/1 var(--text);font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:#50e3c2}

/* focused sample */
.skg .skg-info{position:absolute;z-index:4;left:0;right:0;bottom:0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;align-items:end;gap:clamp(20px,3.4vw,56px);
  padding:0 var(--pad) calc(env(safe-area-inset-bottom,0px) + 44px);pointer-events:none}
.skg .skg-info>*{pointer-events:auto}
.skg .skg-idx{margin:0 0 10px;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 8px;font:500 13px/1.5 var(--text);color:var(--mut);font-variant-numeric:tabular-nums}
.skg .skg-idx b{font-weight:600;color:var(--ink)}.skg .skg-idx i{font-style:normal;color:var(--dim)}
.skg .skg-idx em{font-style:normal;color:var(--mut)}.skg .skg-idx em:empty,.skg .skg-idx span:empty,.skg .skg-idx small:empty{display:none}
.skg .skg-idx span{margin-left:10px;padding-left:18px;position:relative;color:var(--acc);transition:color .6s}
.skg .skg-idx span::before{content:"";position:absolute;left:0;top:50%;width:10px;height:1px;background:currentColor;opacity:.7}
/* the badge: our live sites say so; samples say it quietly */
.skg .skg-badge{margin-left:8px;font:500 11px/1.4 var(--text);letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.skg .skg-badge.skg-live{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 8px;border-radius:999px;color:#50e3c2;background:rgba(80,227,194,.1);box-shadow:inset 0 0 0 1px rgba(80,227,194,.35);font-weight:600}
.skg .skg-badge.skg-live::before{content:"";width:6px;height:6px;border-radius:50%;background:#50e3c2}
/* the name: up to two lines, never cut. The size follows the name's length (--len, set by the script). */
.skg .skg-name{--h2max:clamp(28px,2.8vw,40px);margin:0;font:560 min(var(--h2max),calc(80vw / var(--len,12)))/1 var(--disp);letter-spacing:-.04em;color:var(--ink);
  white-space:normal;overflow:visible;text-wrap:balance;overflow-wrap:break-word;padding-bottom:.06em}
.skg .skg-line{margin:0 0 6px;max-width:42ch;font:400 clamp(14px,1.1vw,16.5px)/1.5 var(--text);color:var(--mut);text-wrap:pretty}
.skg .skg-act{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:4px}
.skg .skg-act-a,.skg .skg-act-b{display:flex;align-items:center;gap:10px}
.skg .skg-act-b{justify-content:center;gap:8px}
.skg .skg-round.skg-small{width:40px;height:40px}
.skg .skg-round.skg-small::after{content:"";position:absolute;inset:-2px}
.skg .skg-like svg{width:14px;height:14px;transition:transform .3s var(--ease)}
.skg .skg-like[aria-pressed=true]{color:#ff7a8a;box-shadow:inset 0 0 0 1px rgba(255,122,138,.45);background:rgba(255,122,138,.1)}
.skg .skg-like[aria-pressed=true] svg{fill:currentColor}
.skg .skg-like.skg-pop svg{transform:scale(1.25)}
.skg .skg-quote{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 16px;border-radius:999px;font:500 13px/1 var(--text);text-decoration:none;white-space:nowrap;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);background:rgba(243,238,229,.04);transition:background .2s,box-shadow .2s}
.skg .skg-quote:hover{background:rgba(243,238,229,.1);box-shadow:inset 0 0 0 1px rgba(243,238,229,.3)}
.skg .skg-quote svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.skg .skg-quote:hover svg{transform:translateX(2px)}
.skg .skg-go{display:inline-flex;align-items:center;height:52px;padding:0 28px;border-radius:999px;background:var(--acc);color:var(--acc-ink);font:600 15px/1 var(--text);text-decoration:none;white-space:nowrap;
  box-shadow:0 0 0 0 var(--acc),0 10px 40px -12px var(--acc);transition:background .6s,box-shadow .6s,transform .35s var(--ease)}
.skg .skg-go:hover{transform:translateY(-2px);box-shadow:0 0 0 4px color-mix(in srgb,var(--acc) 26%,transparent),0 14px 44px -10px var(--acc)}
.skg .skg-go[target=_blank]::after{content:"↗";margin-left:8px;font-weight:500}
.skg .skg-go[aria-disabled=true]{opacity:.35;pointer-events:none}
.skg .skg-round{position:relative;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;box-shadow:inset 0 0 0 1px var(--line);background:rgba(243,238,229,.04);transition:background .2s,opacity .2s}
.skg .skg-round:hover{background:rgba(243,238,229,.12)}
.skg .skg-round:disabled{opacity:.3;cursor:default}
.skg .skg-round svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.skg .skg-share svg{width:15px;height:15px}
.skg .skg-tip{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,4px);padding:7px 11px;border-radius:8px;background:var(--ink);color:var(--bg);font:600 12px/1 var(--text);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,transform .3s var(--ease)}
.skg .skg-tip.skg-on{opacity:1;transform:translate(-50%,0)}
.skg .skg-info .skg-who,.skg .skg-info .skg-line{transition:opacity .28s,transform .5s var(--ease)}
.skg .skg-info{transition:transform .5s var(--ease)}
.skg.skg-dodge-x .skg-line{opacity:0;pointer-events:none}
.skg.skg-dodge-y .skg-line{opacity:0}
/* the overlay covers the name but not the buttons, and the name has no room beside it: the name and line fade, the ring keeps its size */
.skg.skg-dodge-f .skg-who,.skg.skg-dodge-f .skg-line{opacity:0;pointer-events:none}
/* the overlay covers the panel and lifting it would crush the ring (phones): the panel waits out of sight, the ring sits above the overlay */
.skg.skg-dodge-h .skg-info{opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}
.skg .skg-info.skg-swap .skg-who,.skg .skg-info.skg-swap .skg-line{opacity:0;transform:translateY(10px);transition:none}

.skg .skg-info>.skg-hint{position:absolute;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 14px);transform:translateX(-50%);margin:0;font:400 12.5px/1.3 var(--text);color:rgba(243,238,229,.72);white-space:nowrap;pointer-events:none}
.skg .skg-hint-t{transition:opacity .8s}
.skg .skg-hint.skg-off .skg-hint-t{opacity:0}
.skg .skg-sub2{color:var(--mut)}
.skg .skg-more{position:absolute;z-index:4;right:var(--pad);bottom:calc(env(safe-area-inset-bottom,0px) + 2px);display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 4px;font:500 12.5px/1 var(--text);color:rgba(243,238,229,.72);transition:color .2s}
.skg .skg-more svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
.skg .skg-more:hover{color:var(--ink)}.skg .skg-more:hover svg{transform:translateY(2px)}

/* the same list as real links: off screen until one has the keyboard, plain grid when there is no 3D.
   The list is a div[role=navigation], and is reset here too, so a host's nav{position:fixed;...} can never lay it over the host's header */
.skg .skg-list{position:static;inset:auto;z-index:auto;width:auto;height:0;margin:0;padding:0;display:block;background:none;border:0;box-shadow:none;transform:none;overflow:visible;pointer-events:none}
.skg .skg-list ul{list-style:none;margin:0;padding:0}
.skg .skg-list li{margin:0;padding:0}
.skg .skg-list a{position:fixed;z-index:6;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 140px);transform:translate(-50%,12px);opacity:0;pointer-events:none;display:block;padding:12px 18px;border-radius:999px;background:var(--ink);color:var(--bg);font:500 13px/1 var(--text);text-decoration:none;white-space:nowrap}
.skg .skg-list a img,.skg .skg-list a p,.skg .skg-list a small{display:none}
.skg .skg-list a b{font-weight:650}
.skg .skg-list a:focus-visible{opacity:1;transform:translate(-50%,0);outline-offset:4px}

.skg .skg-loader{position:absolute;inset:0;z-index:40;background:var(--bg);display:grid;place-items:center;transition:opacity .9s .1s,visibility 0s 1s}
.skg .skg-loader b{display:block;width:min(200px,46vw);height:1px;background:rgba(243,238,229,.16);overflow:hidden}
.skg .skg-loader i{display:block;height:100%;width:40%;background:var(--ink);animation:skg-ld 1.3s var(--ease) infinite}
@keyframes skg-ld{from{transform:translateX(-100%)}to{transform:translateX(260%)}}
.skg.skg-ready .skg-loader{opacity:0;visibility:hidden;pointer-events:none}
.skg .skg-veil{position:fixed;inset:0;z-index:40;background:var(--bg);opacity:0;visibility:hidden;pointer-events:none}
.skg.skg-leaving .skg-veil{visibility:visible;opacity:1;transition:opacity .34s .42s ease-in}
.skg .skg-head,.skg .skg-info,.skg .skg-hint,.skg .skg-more,.skg .skg-labels{transition:opacity .7s}
.skg.skg-leaving .skg-head,.skg.skg-leaving .skg-info,.skg.skg-leaving .skg-hint,.skg.skg-leaving .skg-more,.skg.skg-leaving .skg-labels{opacity:0;transition:opacity .3s}
.skg:not(.skg-ready) .skg-head,.skg:not(.skg-ready) .skg-info{opacity:0}

/* grid view: the wall slides under solid bands at the top and bottom */
.skg.skg-grid .skg-shade{background:
  linear-gradient(180deg,var(--bg) 0,var(--bg) calc(var(--top,200px) - 26px),rgba(7,10,14,0) calc(var(--top,200px) + 8px)),
  linear-gradient(0deg,var(--bg) 0,var(--bg) calc(var(--bot,170px) - 30px),rgba(7,10,14,0) calc(var(--bot,170px) + 6px))}
.skg.skg-grid .skg-lede{display:none}
.skg.skg-grid .skg-lb i{display:none}   /* the wall's rows are tight: the info panel shows the badge */

/* phone */
@media (max-width:640px){.skg{--pad:14px}}
@media (max-width:760px){
  .skg .skg-head{top:calc(env(safe-area-inset-top,0px) + var(--skg-top) + 8px);gap:10px}
  .skg .skg-kick{font-size:10.5px;letter-spacing:.1em;margin-bottom:7px}
  .skg .skg-title{font-size:30px;line-height:1.06}
  .skg.skg-lay-a .skg-head{top:calc(env(safe-area-inset-top,0px) + var(--skg-top) + 10px);gap:12px}
  .skg.skg-lay-a .skg-kick{margin-bottom:8px}
  .skg.skg-lay-a .skg-title{font-size:clamp(34px,10.4vw,40px);line-height:1.04;max-width:none}
  .skg .skg-lede,.skg.skg-lay-a .skg-lede{font-size:13.5px;margin-top:8px;line-height:1.42;max-width:40ch}
  .skg .skg-lede .skg-dsk{display:none}
  .skg .skg-bar{gap:8px;padding-right:0}
  .skg .skg-sep{display:none}
  .skg.skg-lay-b .skg-tools{order:-1}
  .skg .skg-search{width:44px;padding:0 0 0 14px;gap:0;transition:width .3s var(--ease),box-shadow .2s,background .2s}
  .skg .skg-search input{width:0;opacity:0}
  .skg .skg-search:focus-within,.skg .skg-search:has(input:not(:placeholder-shown)){width:168px;gap:8px}
  .skg .skg-search input:focus,.skg .skg-search input:not(:placeholder-shown){width:118px;opacity:1}
  .skg .skg-ghost{padding:0;width:44px;justify-content:center}
  .skg .skg-ghost .skg-view-t{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .skg .skg-chips{scroll-padding-inline:8px;padding-right:var(--pad)}
  .skg .skg-chip{height:44px;padding:0 14px;font-size:13.5px}
  .skg.skg-lay-b .skg-chip{padding:0 10px}
  .skg .skg-subs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;font-size:12.5px;min-height:0}
  .skg .skg-subs.skg-subs-off{display:none}
  .skg .skg-subs::-webkit-scrollbar{display:none}
  /* the focused sample: meta line, name, then two rows of buttons; the description folds behind the name (a tap shows it) */
  .skg .skg-info{grid-template-columns:minmax(0,1fr);gap:8px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 14px)}
  .skg .skg-info>.skg-hint{position:static;transform:none;margin:0 0 2px;text-align:center;font-size:12.5px;line-height:18px;white-space:normal}
  .skg .skg-name{--h2max:clamp(26px,8.4vw,32px);font-size:min(var(--h2max),calc(200vw / var(--len,12)))}
  .skg .skg-who{cursor:pointer}
  .skg .skg-idx{margin-bottom:4px;font-size:12.5px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
  .skg .skg-idx span{overflow:hidden;text-overflow:ellipsis}
  .skg .skg-line{display:none;font-size:14px;margin:0}
  .skg.skg-line-on .skg-line{display:block}
  .skg .skg-act{margin:2px 0 0;gap:8px}.skg .skg-act .skg-go{flex:1;justify-content:center;height:48px}
  .skg .skg-act-b{justify-content:flex-start}.skg .skg-act-b .skg-quote{flex:1;justify-content:center}
  .skg .skg-round.skg-small{width:44px;height:44px}
  .skg .skg-quote{height:44px}
  .skg .skg-more{display:none}
  .skg.skg-grid .skg-info{visibility:hidden;opacity:0}   /* grid view: the wall gets the whole screen; a tap on a card opens it in the ring */
  .skg .skg-lb b{font-size:12.5px}.skg .skg-lb span{font-size:10.5px}
  .skg canvas.skg-stage{touch-action:pan-y}
  .skg.skg-grid canvas.skg-stage{touch-action:none}
  .skg.skg-dodge-y .skg-act-b,.skg.skg-dodge-y .skg-hint,.skg.skg-dodge-y .skg-line{display:none}
}
@media (max-height:620px) and (min-width:761px){.skg .skg-lede{display:none}.skg .skg-info{padding-bottom:26px}}

/* no 3D: a normal grid of links */
.skg.skg-no-3d .skg-hall{height:auto;overflow:visible}
.skg.skg-no-3d canvas.skg-stage,.skg.skg-no-3d .skg-shade,.skg.skg-no-3d .skg-labels,.skg.skg-no-3d .skg-info,.skg.skg-no-3d .skg-hint,.skg.skg-no-3d .skg-more,.skg.skg-no-3d .skg-loader,.skg.skg-no-3d .skg-veil,.skg.skg-no-3d .skg-bar,.skg.skg-no-3d .skg-subs{display:none}
.skg.skg-no-3d .skg-head{position:static;opacity:1!important;padding-top:calc(var(--skg-top) + 28px)}
.skg.skg-no-3d .skg-list ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:clamp(18px,2.4vw,34px);padding:36px var(--pad) 60px}
.skg.skg-no-3d .skg-list a{position:static;transform:none;opacity:1;pointer-events:auto;padding:0;border-radius:0;background:none;color:var(--ink);white-space:normal;font:400 14px/1.5 var(--text)}
.skg.skg-no-3d .skg-list a .skg-shot{display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#11151b;margin-bottom:14px}
.skg.skg-no-3d .skg-list{height:auto;pointer-events:auto}
.skg.skg-no-3d .skg-list a img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.skg.skg-no-3d .skg-list a img.skg-sheet{width:200%;height:200%}
.skg.skg-no-3d .skg-list a b{display:block;font:560 22px/1.15 var(--disp);letter-spacing:-.02em}
.skg.skg-no-3d .skg-list a em{font-style:normal;color:var(--mut);font-size:13px}
.skg.skg-no-3d .skg-list a small{display:inline;margin-left:6px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.skg.skg-no-3d .skg-list a p{display:block;margin:6px 0 0;color:var(--mut)}

/* EMBEDDED (a host page, the Sandruci "3D websites" service page; 1 Dec 2026 review): the focused sample's panel takes the
   site's own buttons, so the stage belongs to the page that continues below it.
   Site values (sandruci v2): .btn = teal #50E3C2 on #04201c, 600 15px Inter, 13px 22px, radius 8px; .btn.ghost = transparent,
   white, 1px rgba(255,255,255,.25), teal border on hover; round icon buttons (.arrow) = 44px, 1px rgba(255,255,255,.2) on
   rgba(10,14,22,.7), teal border on hover; focus = 2px teal outline. Desktop: name on the left, ONE row of controls on the right
   (prev, next | like, link | Get a site like this, Open site). Phones: Open site between prev and next, then like, link and the quote. */
.skg.skg-embed{--teal:#50e3c2;--teal-ink:#04201c}
.skg.skg-embed :focus-visible{outline-color:var(--teal)}
.skg.skg-embed .skg-more{display:none}
.skg.skg-embed .skg-info{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who act" "line act";column-gap:clamp(24px,3vw,48px);row-gap:6px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 50px)}
.skg.skg-embed .skg-who{grid-area:who;min-width:0}
.skg.skg-embed .skg-line{grid-area:line;margin:0;max-width:56ch}
.skg.skg-embed .skg-act{grid-area:act;align-self:end;flex-direction:row;align-items:center;gap:8px;margin:0 0 2px}
.skg.skg-embed .skg-act-a,.skg.skg-embed .skg-act-b{display:contents}
.skg.skg-embed .skg-prev{order:1}.skg.skg-embed .skg-next{order:2}
.skg.skg-embed .skg-like{order:3;margin-left:12px}.skg.skg-embed .skg-share{order:4}
.skg.skg-embed .skg-quote{order:5;margin-left:12px}.skg.skg-embed .skg-go{order:6}
/* the primary: the site's .btn, always the site's teal (the per-card accent stays on the showcase's own page) */
.skg.skg-embed .skg-go{height:44px;padding:0 22px;border-radius:8px;background:var(--teal);color:var(--teal-ink);font:600 15px/1 Inter,"Inter Tight",system-ui,sans-serif;letter-spacing:normal;
  box-shadow:none;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.skg.skg-embed .skg-go:hover,.skg.skg-embed .skg-go:focus-visible{transform:translateY(-2px);box-shadow:0 10px 30px -8px rgba(80,227,194,.6),0 0 0 1px rgba(80,227,194,.5)}
.skg.skg-embed .skg-go[target=_blank]::after{margin-left:8px}
/* the secondary: the site's .btn.ghost */
.skg.skg-embed .skg-quote{height:44px;padding:0 20px;border-radius:8px;gap:9px;background:transparent;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);font:600 15px/1 Inter,"Inter Tight",system-ui,sans-serif;transition:box-shadow .2s,color .2s}
.skg.skg-embed .skg-quote:hover{background:transparent;box-shadow:inset 0 0 0 1px var(--teal)}
/* the icon buttons: the site's round .arrow */
.skg.skg-embed .skg-round,.skg.skg-embed .skg-round.skg-small{width:44px;height:44px;background:rgba(10,14,22,.7);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);transition:box-shadow .2s,color .2s,opacity .2s}
.skg.skg-embed .skg-round:hover:not(:disabled){background:rgba(10,14,22,.7);box-shadow:inset 0 0 0 1px var(--teal);color:var(--teal)}
.skg.skg-embed .skg-round:disabled{opacity:.35}
.skg.skg-embed .skg-like[aria-pressed=true]{color:#ff7a8a;box-shadow:inset 0 0 0 1px rgba(255,122,138,.55);background:rgba(255,122,138,.1)}
.skg.skg-embed .skg-round:focus-visible,.skg.skg-embed .skg-go:focus-visible,.skg.skg-embed .skg-quote:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.skg.skg-embed .skg-round:focus-visible{border-radius:50%}.skg.skg-embed .skg-go:focus-visible,.skg.skg-embed .skg-quote:focus-visible{border-radius:10px}
/* the stage bottom: one quiet line, the page goes on below */
.skg.skg-embed .skg-info>.skg-hint{bottom:calc(env(safe-area-inset-bottom,0px) + 16px);font-size:12.5px;color:rgba(243,238,229,.55)}
.skg.skg-embed .skg-hint-a{display:inline-block;margin-left:4px}
.skg.skg-embed .skg-hint.skg-off .skg-hint-t{opacity:1}
/* tablets and small laptops: the quote's arrow goes, the row stays one row */
@media (max-width:1180px) and (min-width:761px){
  .skg.skg-embed .skg-info{column-gap:20px}
  .skg.skg-embed .skg-quote svg{display:none}.skg.skg-embed .skg-quote{padding:0 16px}
  .skg.skg-embed .skg-go{padding:0 18px}
  .skg.skg-embed .skg-like,.skg.skg-embed .skg-quote{margin-left:6px}
}
@media (max-width:1023px) and (min-width:761px){   /* tablets: the name above, the one row of controls under it */
  .skg.skg-embed .skg-info{grid-template-columns:minmax(0,1fr);grid-template-areas:"who" "line" "act";row-gap:10px}
  .skg.skg-embed .skg-act{justify-self:start}
}
@media (max-width:760px){
  .skg.skg-embed .skg-info{grid-template-columns:minmax(0,1fr);grid-template-areas:"who" "line" "act";row-gap:8px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 14px)}
  .skg.skg-embed .skg-info>.skg-hint{display:none}
  .skg.skg-embed .skg-act{flex-direction:column;align-items:stretch;gap:8px;margin:2px 0 0}
  .skg.skg-embed .skg-act-a,.skg.skg-embed .skg-act-b{display:flex;align-items:center;gap:8px}
  .skg.skg-embed .skg-act-b{justify-content:flex-start}
  .skg.skg-embed .skg-like,.skg.skg-embed .skg-quote{margin-left:0}
  .skg.skg-embed .skg-act .skg-go{flex:1;justify-content:center;height:48px}
  .skg.skg-embed .skg-act-b .skg-quote{flex:1;justify-content:center;height:44px}
  .skg.skg-embed .skg-go:hover{transform:none}
  .skg.skg-embed.skg-dodge-y .skg-act-b{display:none}   /* the compact lifted panel (the rule above re-shows this row in embeds) */
}

@media (prefers-reduced-motion:reduce){
  .skg *,.skg *::before,.skg *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
