/* Muckenhammer Studio — the glass look (26 Oct 2026), shared by every page of studio.muckenhammer.com.
 * Same language as the Studio Hub and the private sample pages: silver ground, frosted surfaces with a hairline,
 * the M tile, pill buttons, one blue accent and Apple's signal colours. Light and dark are both first-class.
 * Blur only on controls (the floating bar), never behind text-heavy content.
 * On the case study and software department pages this file is loaded after their own styles and re-skins them;
 * the home page is built on it directly (its own parts start with gx-). */
:root{
  --gx-bg:#eceef1;--gx-ink:#111827;--gx-soft:#4b5563;--gx-body:#374151;--gx-blue:#0a6cdb;--gx-blue2:#2b86f0;--gx-blue-t:#0a5fc0;
  --gx-glass:rgba(255,255,255,.62);--gx-glass2:rgba(255,255,255,.82);--gx-edge:rgba(255,255,255,.92);--gx-hi:rgba(255,255,255,.95);
  --gx-line:rgba(17,24,39,.08);--gx-shadow:rgba(40,50,90,.12);--gx-chip:rgba(17,24,39,.06);
  --gx-ground:radial-gradient(900px 600px at 8% 0%,#fff 0%,transparent 60%),radial-gradient(800px 600px at 92% 4%,#f4f5f7 0%,transparent 60%),radial-gradient(900px 700px at 80% 55%,#d5d8de 0%,transparent 60%),radial-gradient(700px 600px at 15% 80%,#e2e4e8 0%,transparent 60%),#eceef1;
  --gx-orb:radial-gradient(circle at 40% 35%,rgba(255,255,255,.95) 0%,rgba(214,218,226,.5) 45%,rgba(214,218,226,0) 70%);
  --gx-f:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif;
  /* the older stylesheet's names, pointed at the new values so its own rules follow */
  --white:transparent;--grey:var(--gx-chip);--ink:var(--gx-ink);--soft:var(--gx-soft);--line:var(--gx-line);--blue:var(--gx-blue);--blue-h:var(--gx-blue-t);--f:var(--gx-f);
  color-scheme:light
}
:root[data-theme="dark"]{
  --gx-bg:#0e1013;--gx-ink:#f3f4f6;--gx-soft:#a1a8b3;--gx-body:#d1d5db;--gx-blue:#3d8bff;--gx-blue2:#5aa0ff;--gx-blue-t:#8ab8ff;
  --gx-glass:rgba(255,255,255,.055);--gx-glass2:rgba(255,255,255,.09);--gx-edge:rgba(255,255,255,.1);--gx-hi:rgba(255,255,255,.08);
  --gx-line:rgba(255,255,255,.09);--gx-shadow:rgba(0,0,0,.45);--gx-chip:rgba(255,255,255,.08);
  --gx-ground:radial-gradient(900px 600px at 8% 0%,#23272e 0%,transparent 60%),radial-gradient(900px 700px at 80% 55%,#1a1d23 0%,transparent 60%),#0e1013;
  --gx-orb:radial-gradient(circle at 40% 35%,rgba(120,140,170,.18) 0%,rgba(120,140,170,0) 70%);color-scheme:dark
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --gx-bg:#0e1013;--gx-ink:#f3f4f6;--gx-soft:#a1a8b3;--gx-body:#d1d5db;--gx-blue:#3d8bff;--gx-blue2:#5aa0ff;--gx-blue-t:#8ab8ff;
  --gx-glass:rgba(255,255,255,.055);--gx-glass2:rgba(255,255,255,.09);--gx-edge:rgba(255,255,255,.1);--gx-hi:rgba(255,255,255,.08);
  --gx-line:rgba(255,255,255,.09);--gx-shadow:rgba(0,0,0,.45);--gx-chip:rgba(255,255,255,.08);
  --gx-ground:radial-gradient(900px 600px at 8% 0%,#23272e 0%,transparent 60%),radial-gradient(900px 700px at 80% 55%,#1a1d23 0%,transparent 60%),#0e1013;
  --gx-orb:radial-gradient(circle at 40% 35%,rgba(120,140,170,.18) 0%,rgba(120,140,170,0) 70%);color-scheme:dark}}
:root[data-lang="de"] [lang="en"]{display:none!important}
:root:not([data-lang="de"]) [lang="de"]{display:none!important}

html body{background:var(--gx-ground)!important;background-attachment:fixed!important;color:var(--gx-ink)!important;font-family:var(--gx-f)!important;letter-spacing:-.012em}
h1,h2{font-weight:800!important;letter-spacing:-.05em!important}
h3{font-weight:700!important;letter-spacing:-.03em!important}

/* the floating bar */
nav.g{position:sticky!important;top:12px!important;margin:12px auto 0;max-width:1240px;width:calc(100% - 32px);border-radius:999px;background:color-mix(in srgb,var(--gx-bg) 70%,transparent)!important;-webkit-backdrop-filter:blur(30px) saturate(180%)!important;backdrop-filter:blur(30px) saturate(180%)!important;border:1px solid var(--gx-edge)!important;box-shadow:inset 0 1px 0 var(--gx-hi),0 12px 40px var(--gx-shadow)!important}
nav.g .w{max-width:none!important;height:56px!important;padding-inline:10px 8px!important}
.wm{display:inline-flex;align-items:center;gap:10px;color:var(--gx-ink)!important;letter-spacing:.14em!important}
.wm::before{content:"";flex:none;width:30px;height:30px;border-radius:9px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M8 39V9h7.5L24 22.5 32.5 9H40v30h-7V21l-9 13.5L15 21v18z' fill='%23fff'/%3E%3C/svg%3E") center/18px no-repeat,linear-gradient(160deg,#3a3f47 0%,#0f1114 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 4px 10px rgba(0,0,0,.2)}
.wm span{color:var(--gx-soft)!important;margin-left:0!important}
.links{color:var(--gx-body)!important;gap:20px!important;font-size:14px!important}
.links a:hover{color:var(--gx-ink)!important}
.lang{padding:3px;border-radius:999px;background:var(--gx-glass);border:1px solid var(--gx-edge)}
.lang button{border:0;background:transparent;font:inherit;cursor:pointer;padding:0 8px;min-width:34px;min-height:30px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:999px!important;font-size:12px;font-weight:600;color:var(--gx-soft)!important}
.lang button[aria-pressed="true"]{background:var(--gx-glass2)!important;color:var(--gx-ink)!important;box-shadow:0 3px 10px var(--gx-shadow)}
.themebtn{color:var(--gx-ink)!important}

/* buttons */
.pill,a.pill{background:linear-gradient(180deg,var(--gx-blue2) 0%,var(--gx-blue) 100%)!important;color:#fff!important;font-weight:600!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 20px color-mix(in srgb,var(--gx-blue) 30%,transparent)}
.pill.sm{padding:9px 16px!important;font-size:13px!important}
.lnk{background:var(--gx-glass)!important;border:1px solid var(--gx-edge)!important;color:var(--gx-ink)!important;font-weight:600!important;box-shadow:inset 0 1px 0 var(--gx-hi)}
.lnk:hover{background:var(--gx-glass2)!important}

/* surfaces */
.sec.grey{background:transparent!important}
.tile{background:var(--gx-glass)!important;border:1px solid var(--gx-edge)!important;border-radius:26px!important;box-shadow:inset 0 1px 0 var(--gx-hi),0 20px 50px var(--gx-shadow)!important}
.k,.eyebrow{color:var(--gx-blue)!important}
.frame2{border:1px solid var(--gx-edge)!important;border-radius:22px!important;box-shadow:0 40px 100px var(--gx-shadow)!important}
.frame2 .bar i:nth-child(1){background:#ff5f57!important}.frame2 .bar i:nth-child(2){background:#febc2e!important}.frame2 .bar i:nth-child(3){background:#28c840!important}
.ai,.contact,.gx-dark{background:linear-gradient(160deg,#2a2f37 0%,#0f1114 100%)!important}
footer{background:transparent!important;color:var(--gx-soft)!important;border-top:1px solid var(--gx-line)!important}
footer a{color:var(--gx-body)!important}
:focus-visible{outline:2px solid var(--gx-blue)!important;outline-offset:3px}
/* parts of the case study and software department pages that used white as a fill */
.mods > span{background:var(--gx-glass)!important;border:1px solid var(--gx-edge)!important;color:var(--gx-ink)!important}
.mods > span.hl{background:var(--gx-ink)!important;color:var(--gx-bg)!important;border-color:var(--gx-ink)!important}
.pvs{background:var(--gx-glass)!important;border:1px solid var(--gx-edge)!important;box-shadow:inset 0 1px 0 var(--gx-hi),0 20px 50px var(--gx-shadow)!important}
/* phones: the bar keeps the M, the theme switch and the language; "Get your prototype" stays in the page itself */
@media (max-width:560px){.wm span{display:none}.wm{font-size:12px!important;letter-spacing:.1em!important}.links{gap:8px!important}.links .pill.sm{display:none!important}nav.g{width:calc(100% - 24px)}}
.lang{display:inline-flex!important;flex-wrap:nowrap;flex:none}
.themebtn{width:36px;height:36px;border-radius:50%!important;border:1px solid var(--gx-edge)!important;background:var(--gx-glass)!important;display:inline-flex!important;align-items:center;justify-content:center}
/* Touch screens — phones and tablets are recognised by the browser itself ("coarse pointer"), whatever their size:
 * every tap target at least 44px tall, and no hover effects that would stick after a tap. */
@media (pointer:coarse){
  .lang button{min-height:40px!important;min-width:44px!important}
  .themebtn{width:44px!important;height:44px!important}
  .wm,.back,footer a,.mail{display:inline-flex!important;align-items:center;min-height:44px}
  .links .opt{min-height:44px;display:inline-flex;align-items:center}
  .pill,a.pill,.lnk,button.lnk,.copy,.foldcard .a .pill,.foldcard .a .lnk{min-height:44px!important;padding-block:0!important;display:inline-flex!important;align-items:center}
  .fold .x{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
@media (hover:none){.gx-lift:hover,.tile:hover,.glide:hover{transform:none!important}}

/* the section links in the bar give way to the language and theme switches below laptop width */
@media (max-width:1100px){.links .opt{display:none!important}}
@media (max-width:420px){.links .themebtn{display:none!important}}
/* the e-mail popup's buttons are full-size on every device */
.foldcard .a .pill,.foldcard .a .lnk{min-height:44px!important;padding-block:0!important;display:inline-flex!important;align-items:center}
