/* InoBuilt motion layer. Loaded after launch.css on every page. Chosen by Arash Mohsenijam after four design-review rounds (see docs/08-MOTION-DESIGN-SPEC.md).
   Picks are emitted on <html> by tools/build_dist.py: data-mx-card=lift, -enter=converge, -proj=grid, -hero=parallax, -bg=both, -tone=ink (tone rules are in inner.css), -cta=pill.
   Strengths: --mxk hover drama 30%, --mxke entrance drama 140%, --mxh hero drama 160%.
   Contents: glass (header, hero plate, floating pill, 2px corners to match the site), cards on every page, scroll entrances, home projects, hero depth,
   section texture, the Push page transition. Behaviour that needs script is in src/motion.js; everything here is safe without it.
   Layers never fight: scroll entrances use opacity + translate/rotate/scale; pointer and hover use transform, filter, box-shadow, and the individual translate property on children only. */

:root{
  --mxk:.3;--mxke:1.4;--mxh:1.6;
  --mx-spring:linear(0,.16 5%,.5 13%,.85 23%,1.06 33%,1.11 41%,1.07 51%,1.02 63%,.995 76%,1);
  --mx-e1:0 1px 2px rgba(22,21,20,.10),0 10px 28px rgba(22,21,20,.12);
  --mx-e3:0 2px 4px rgba(22,21,20,calc(var(--mxk)*.16)),0 22px 34px rgba(22,21,20,calc(var(--mxk)*.24)),0 64px 96px rgba(22,21,20,calc(var(--mxk)*.38));
  --mx-d1:inset 0 1px 0 rgba(255,255,255,.07),0 16px 38px rgba(0,0,0,.5);
  --mx-d3:inset 0 0 0 1px rgba(255,255,255,calc(var(--mxk)*.32)),0 24px 40px rgba(0,0,0,calc(var(--mxk)*.55)),0 70px 110px rgba(0,0,0,calc(var(--mxk)*.6));
}

/* entrances start cards off to the side; clip, so they never widen the page */
main section{overflow-x:clip}

/* ---------- Apple-style glass ----------
   Apple's "regular" material blurs the content behind it and adjusts its brightness so text on top stays readable
   (developer.apple.com/design/human-interface-guidelines/materials). Four layers here: a tinted, blurred surface (::before), a bright
   rim that fades across the diagonal (::after), a soft pointer-following sheen inside the surface, and a floating shadow.
   Corners follow InoBuilt's own: the site's buttons are 2px (.cta in styles.css), so glass is 2px too. --mx-r is the one knob.
   src/motion.js sets data-under=light|dark by looking at what is behind each glass piece, so the tint and the text flip together. */
:root{--mx-r:2px;--mx-r-sm:2px}
.site-header,.mx-pill{
  --g-fill:rgba(26,25,24,.4);--g-hi:rgba(255,255,255,.7);--g-lo:rgba(255,255,255,.2);--g-ink:#fff;--g-line:rgba(255,255,255,.1);
  --g-shadow:0 22px 44px -12px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.22);--g-blur:18px;--g-sat:1.9;--g-br:.7;
  --g-sheen:rgba(255,255,255,.26)}
.site-header[data-under=light],.mx-pill[data-under=light]{
  --g-fill:rgba(255,255,255,.58);--g-hi:rgba(255,255,255,1);--g-lo:rgba(255,255,255,.7);--g-ink:#161514;--g-line:rgba(22,21,20,.09);
  --g-shadow:0 22px 44px -12px rgba(22,21,20,.3),0 4px 14px rgba(22,21,20,.12);--g-br:1.05;--g-sheen:rgba(255,255,255,.9)}
.site-header.solid{--g-fill:rgba(26,25,24,.52)}
.site-header.solid[data-under=light]{--g-fill:rgba(255,255,255,.7)}
.site-header::before,.mx-pill::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:var(--mx-r);
  background:radial-gradient(200px circle at var(--sx,50%) var(--sy,-70%),var(--g-sheen),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 55%),var(--g-fill);
  -webkit-backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat)) brightness(var(--g-br));backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat)) brightness(var(--g-br));
  box-shadow:var(--g-shadow),inset 0 0 22px rgba(255,255,255,.07),inset 0 0 0 1px var(--g-line);transition:background-color .45s}
.site-header::after,.mx-pill::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:var(--mx-r);padding:1px;
  background:linear-gradient(135deg,var(--g-hi) 0%,rgba(255,255,255,0) 28%,rgba(255,255,255,0) 68%,var(--g-lo) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
/* the site's own solid-header rules stay out of the way; the glass lives on the pseudo-elements so the mobile menu panel is not re-parented */
html .site-header,html .site-header.solid{inset:12px clamp(12px,3vw,48px) auto;padding:8px 8px 8px 26px;background:none;border:0;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;color:var(--g-ink);transition:none}
html .site-header .logo img,html .site-header.solid .logo img{height:32px;transition:filter .4s}
.site-header[data-under=light] .logo img{filter:brightness(0)}
.site-header .menu span:not(.sr){background:var(--g-ink)}
/* nav links get a glass pill on hover and for the current page, like a tab bar; negative margins keep the layout where it was */
@media (min-width:1001px){
  html .site-header nav a:not(.cta){padding:9px 12px;margin:-9px -12px;border-radius:var(--mx-r);color:inherit;transition:background-color .3s,color .3s,opacity .2s,box-shadow .3s}
  html .site-header nav a:not(.cta):hover{background:rgba(255,255,255,.14);color:inherit;opacity:1}
  html .site-header[data-under=light] nav a:not(.cta):hover{background:rgba(22,21,20,.07)}
  html .site-header nav a.active:not(.cta){color:#ffb98a;background:rgba(224,95,14,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,154,92,.25)}
  html .site-header[data-under=light] nav a.active:not(.cta){color:var(--orange-text);background:rgba(224,95,14,.12)}
}
html .site-header nav a.cta,html .site-header nav a.cta.active,html .site-header nav a.cta:hover{border-radius:var(--mx-r);color:var(--ink);padding:12px 22px;
  background:linear-gradient(180deg,#ff8a43,#E05F0E 60%,#d4580c);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(0,0,0,.14),0 8px 18px -4px rgba(224,95,14,.5);
  transition:transform .45s var(--mx-spring),filter .25s}
html .site-header nav a.cta:hover{filter:brightness(1.08);transform:scale(1.04)}
html .site-header nav a.cta:active{transform:scale(.96)}
@media (max-width:1000px){
  html .site-header{padding:7px 8px 7px 22px}
  /* the open menu is always a dark glass sheet, so its text is always light, whatever the page behind it is doing */
  html .site-header nav{border-radius:0 0 var(--mx-r) var(--mx-r);background:rgba(22,21,20,.9);-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7)}
  html .site-header.open,html .site-header.open[data-under=light]{--g-ink:#fff;--g-fill:rgba(26,25,24,.4)}
  html .site-header.open .logo img{filter:none}
}
/* legibility settings: reduced transparency and more contrast turn the glass solid */
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){
  .site-header,.mx-pill{--g-fill:rgb(28,27,26)}
  .site-header[data-under=light],.mx-pill[data-under=light]{--g-fill:rgb(250,249,247)}
  .site-header::before,.mx-pill::before{-webkit-backdrop-filter:none;backdrop-filter:none}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header,.mx-pill{--g-fill:rgba(26,25,24,.94)}
  .site-header[data-under=light],.mx-pill[data-under=light]{--g-fill:rgba(250,249,247,.96)}
}

/* ---------- hero: real video untouched; its title block is a "clear" glass plate over the picture (it sits on rich imagery, so a dim layer keeps it readable) ---------- */
.vhero .vh-media{margin-bottom:34px}
.vhero .vh-tb{right:18px;bottom:18px;border-radius:var(--mx-r-sm);overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,0) 60%),rgba(20,19,18,.36);border:1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(16px) saturate(1.8) brightness(.8);backdrop-filter:blur(16px) saturate(1.8) brightness(.8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 0 22px rgba(255,255,255,.06),0 18px 36px -8px rgba(0,0,0,.55)}
.vhero .vh-toggle,.vhero .btn-ghost,.vhero .vh-actions .btn-solid{border-radius:var(--mx-r)}
.vhero .vh-toggle,.vhero .btn-ghost{-webkit-backdrop-filter:blur(14px) saturate(1.6);backdrop-filter:blur(14px) saturate(1.6);background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.vhero .vh-actions .btn-solid{background:linear-gradient(180deg,#ff8a43,#E05F0E 60%,#d4580c);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 18px -4px rgba(224,95,14,.5)}
.vhero .vh-toggle:active,.vhero .btn-ghost:active,.vhero .vh-actions .btn-solid:active{scale:.97}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.vhero .vh-tb{background:#1a1918}}
@media (max-width:760px),(orientation:portrait) and (max-width:1200px){
  .vhero .vh-media{margin-bottom:26px}
  .vhero .vh-tb{left:10px;right:10px;bottom:10px;min-width:0}
}

/* ---------- card base (every page; JS adds .mx, data-t = l|d for light or dark card, --cbg = its own colour) ---------- */
.mx-g{perspective:1100px}
.mx{position:relative;box-shadow:var(--sh1,var(--mx-e1));transition:transform .6s var(--mx-spring),box-shadow .45s ease,filter .4s ease}
.mx[data-t=l]{--sh1:var(--mx-e1);--sh3:var(--mx-e3);--gc:224,95,14;--glare:.16;--ring:rgba(168,70,10,1);--flap:#ff9a5c}
.mx[data-t=d]{--sh1:var(--mx-d1);--sh3:var(--mx-d3);--gc:255,255,255;--glare:.2;--ring:rgba(255,154,92,1);--flap:#E05F0E}
.mx.live{transition:transform .11s linear,box-shadow .45s ease,filter .4s ease}
.mx::before,.mx::after{content:'';position:absolute;pointer-events:none;opacity:0}
.mx.mx-img::before{z-index:5}

/* ===== card variant: lift (3D lift and tilt, layers float at depth, neighbours turn away) ===== */
html[data-mx-card=lift]{
  .mx{transform-style:preserve-3d}
  .mx>*{transition:transform .6s var(--mx-spring)}
  .mx::before{inset:0;transition:opacity .3s;
    background:radial-gradient(560px circle at var(--mx,50%) var(--my,0%),rgba(var(--gc,255,255,255),calc(var(--glare,.2)*var(--mxk))),rgba(255,255,255,0) 58%)}
  .mx.mx-img::before{transform:translateZ(calc(var(--mxk)*60px))}
  @media (hover:hover) and (pointer:fine){
    .mx:not(.mx-proj):is(:hover,:focus-visible){z-index:4;
      transform:perspective(900px) translate3d(0,calc(var(--mxk)*-20px),calc(var(--mxk)*70px)) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg)) scale(calc(1 + var(--mxk)*.07));
      box-shadow:var(--sh3)}
    .mx:not(.mx-proj):is(:hover,:focus-visible)::before{opacity:1}
    .mx:not(.mx-proj):is(:hover,:focus-visible)>*{transform:translateZ(calc(var(--mxk)*46px))}
    .v5-aud.mx:hover>h3{transform:translateZ(calc(var(--mxk)*86px))}
    .v5-aud.mx:hover>.v5-lnk{transform:translateZ(calc(var(--mxk)*110px))}
    .mx-g:has(>.mx:not(.mx-proj):hover)>.mx:not(:hover){filter:brightness(calc(1 - var(--mxk)*.14)) saturate(calc(1 - var(--mxk)*.2))}
    .mx-g3:not(.v5-proj-g):has(>:nth-child(1):hover)>:nth-child(n+2){transform:perspective(900px) translate3d(calc(var(--mxk)*34px),0,calc(var(--mxk)*-80px)) rotateY(calc(var(--mxk)*-12deg)) scale(calc(1 - var(--mxk)*.05))}
    .mx-g3:not(.v5-proj-g):has(>:nth-child(2):hover)>:nth-child(1){transform:perspective(900px) translate3d(calc(var(--mxk)*-34px),0,calc(var(--mxk)*-80px)) rotateY(calc(var(--mxk)*12deg)) scale(calc(1 - var(--mxk)*.05))}
    .mx-g3:not(.v5-proj-g):has(>:nth-child(2):hover)>:nth-child(3){transform:perspective(900px) translate3d(calc(var(--mxk)*34px),0,calc(var(--mxk)*-80px)) rotateY(calc(var(--mxk)*-12deg)) scale(calc(1 - var(--mxk)*.05))}
    .mx-g3:not(.v5-proj-g):has(>:nth-child(3):hover)>:nth-child(-n+2){transform:perspective(900px) translate3d(calc(var(--mxk)*-34px),0,calc(var(--mxk)*-80px)) rotateY(calc(var(--mxk)*12deg)) scale(calc(1 - var(--mxk)*.05))}
    .mx:not(.mx-proj):hover :is(.v5-ph,.ins-img,.svc-img,figure) img,.projects .card.mx:hover img,.feat.mx:hover>img{transform:scale(calc(1 + var(--mxk)*.12))}
  }
}

/* ---------- entrances: scroll-driven where supported, and only when motion is allowed ---------- */
.mx:nth-child(3n+1){--s:0;--ex:-90px;--ey:34}
.mx:nth-child(3n+2){--s:1;--ex:0px;--ey:0}
.mx:nth-child(3n){--s:2;--ex:90px;--ey:-34}
@supports ((animation-timeline:view()) and (animation-range:entry)){
  @media (prefers-reduced-motion:no-preference){
    html[data-mx-enter=converge] .mx:not(.mx-proj){animation:mx-in-conv linear both,mx-out linear both;animation-timeline:view(),view();
      animation-range:entry calc(var(--s,0)*7%) entry calc(78% + var(--s,0)*7%),exit 35% exit 100%}
    /* section furniture follows the entrance choice */
    html:not([data-mx-enter=none]){
      .v5-h2{animation:mx-head linear both;animation-timeline:view();animation-range:entry 0% entry 50%}
      .v5-proof-i{animation:mx-rise linear both;animation-timeline:view();animation-range:entry 0% entry 80%}
      .v5-proof-i:nth-child(2){animation-range:entry 8% entry 88%}.v5-proof-i:nth-child(3){animation-range:entry 16% entry 96%}.v5-proof-i:nth-child(4){animation-range:entry 24% entry 100%}
      .cta-band{animation:mx-wipe linear both;animation-timeline:view();animation-range:entry 0% entry 80%}
      /* the site's own reveal would fight the scroll entrance */
      .mx.reveal,.mx.reveal.in{opacity:1;transition:transform .6s var(--mx-spring),box-shadow .45s ease,filter .4s ease}
      .mx.reveal:not(:hover){transform:none}
    }
  }
}
@keyframes mx-in-rise{from{opacity:0;translate:0 calc(var(--mxke)*120px);rotate:x calc(var(--mxke)*26deg);scale:calc(1 - var(--mxke)*.16)}}
@keyframes mx-in-conv{from{opacity:0;translate:calc(var(--ex,0px)*var(--mxke)*2.6) calc(var(--mxke)*44px);rotate:y calc(var(--ey,0)*var(--mxke)*1deg);scale:calc(1 - var(--mxke)*.1)}}
@keyframes mx-out{to{opacity:.35;translate:0 calc(var(--mxke)*-56px);rotate:x calc(var(--mxke)*-12deg);scale:calc(1 - var(--mxke)*.08)}}
@keyframes mx-head{from{clip-path:inset(0 0 100% 0);translate:0 22px}}
@keyframes mx-rise{from{opacity:0;translate:0 30px}}
@keyframes mx-wipe{from{clip-path:inset(0 100% 0 0)}}

/* ---------- phones: scroll-only depth ---------- */
@media (max-width:900px){
  .mx-g{perspective:900px}
  @keyframes mx-in-rise{from{opacity:0;translate:0 calc(var(--mxke)*64px);rotate:x calc(var(--mxke)*12deg);scale:calc(1 - var(--mxke)*.1)}}
  @keyframes mx-in-conv{from{opacity:0;translate:calc(var(--ex,0px)*var(--mxke)*.5) calc(var(--mxke)*40px);scale:calc(1 - var(--mxke)*.06)}}
}

/* ---------- reduced motion: everything static, glass kept ---------- */
@media (prefers-reduced-motion:reduce){
  .mx,.mx>*{transition:none}
  html .mx:hover,html .mx:focus-visible,.mx-g:has(>.mx:hover)>.mx:not(:hover){transform:none!important}
}


/* ================= Recent projects (home): the site's three-up grid with a calm hover; West 41st is the middle card (home.html) ================= */
.v5-pc.mx{background:#fff;border-top:2px solid var(--orange)}
.v5-pc .v5-ph{aspect-ratio:5/6}
.v5-pc .v5-pm{padding:18px 20px 24px}
.v5-pc .v5-pm .v5-eb{margin-bottom:10px}
.v5-pc .v5-pm h3{font-size:clamp(1.625rem,2.2vw,2rem)}
/* ---- grid: the site's own three-up grid, with a calm hover ---- */
html[data-mx-proj=grid]{
  @media (hover:hover) and (pointer:fine){
    .v5-pc.mx:is(:hover,:focus-visible){box-shadow:var(--sh3);transform:translateY(calc(var(--mxk)*-14px))}
    .v5-pc.mx:hover .v5-ph img{transform:scale(calc(1 + var(--mxk)*.08))}
  }
  @supports ((animation-timeline:view()) and (animation-range:entry)){
    @media (prefers-reduced-motion:no-preference){
      &:not([data-mx-enter=none]) .v5-pc.mx{animation:mx-in-rise linear both,mx-out linear both;animation-timeline:view(),view();
        animation-range:entry calc(var(--s,0)*9%) entry calc(72% + var(--s,0)*9%),exit 35% exit 100%}
    }
  }
}

/* ================= Hero ================= */
/* Depth, three layers: the framed picture tilts toward the pointer, the glass title block floats in front of it, the orange corner marks sit in front of both.
   Strength is --mxh (hero drama), not the card slider. On scroll the picture tips back and the copy lifts away, so a visitor with no mouse still sees it move. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  html[data-mx-hero=parallax]{
    .vhero .vh-media{transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.7,.2,1);
      transform:translate3d(calc(var(--hx,0)*var(--mxh)*-10px),calc(var(--hy,0)*var(--mxh)*-6px),0) rotateX(calc(var(--hy,0)*var(--mxh)*5deg)) rotateY(calc(var(--hx,0)*var(--mxh)*-6deg))}
    .vhero .vh-media:after{transform:translateZ(calc(var(--mxh)*26px))}
    .vhero .vh-tb{transform:translateZ(calc(var(--mxh)*62px))}
    .vhero .vh-copy{translate:calc(var(--hx,0)*var(--mxh)*8px) calc(var(--hy,0)*var(--mxh)*5px);transition:translate .6s cubic-bezier(.2,.7,.2,1)}
  }
}
@media (prefers-reduced-motion:no-preference){
  html[data-mx-hero=parallax] .vhero{perspective:1400px}   /* on touch too: the tip-back on scroll needs it */
}
@supports (animation-timeline:scroll()){
  @media (prefers-reduced-motion:no-preference){
    html[data-mx-hero=parallax]{
      .vhero .vh-media{animation:mx-hero-recede linear both;animation-timeline:scroll(root block);animation-range:0px 80vh}
      .vhero .vh-copy{animation:mx-hero-copy linear both;animation-timeline:scroll(root block);animation-range:0px 70vh}
    }
  }
}
@keyframes mx-hero-recede{to{scale:calc(1 - var(--mxh)*.1);rotate:x calc(var(--mxh)*10deg);translate:0 calc(var(--mxh)*-3vh)}}
@keyframes mx-hero-copy{to{translate:0 calc(var(--mxh)*-7vh);opacity:calc(1 - var(--mxh)*.75)}}
/* a soft light that follows the pointer across the picture */
.mx-glare{display:none}
@media (hover:hover) and (pointer:fine){
  html[data-mx-hero=parallax] .mx-glare{display:block;position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;transition:opacity .4s;
    background:radial-gradient(440px circle at var(--lx,50%) var(--ly,50%),rgba(255,255,255,calc(.2*var(--mxh))),transparent 62%)}
  html[data-mx-hero=parallax] .vh-media:hover .mx-glare{opacity:1}
}

/* ================= Background texture ================= */
.mx-sec{position:relative}
.mx-sec>.v5-w,.mx-sec>.wrap{position:relative;z-index:1}
.mx-grid{position:absolute;inset:0;z-index:0;pointer-events:none;--gl:rgba(22,21,20,.055);--gh:rgba(168,70,10,.8);
  --noise-l:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --noise-d:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --noise:var(--noise-l);--grid:linear-gradient(var(--gl) 1px,transparent 1px),linear-gradient(90deg,var(--gl) 1px,transparent 1px)}
/* dark sections get white lines: the home bands and the about divisions (light sections keep the dark lines) */
.v5-dk .mx-grid,.v5-proof .mx-grid,.divisions .mx-grid{--gl:rgba(255,255,255,.05);--gh:rgba(255,154,92,.55);--noise:var(--noise-d)}
.mx-grid:after{content:'';position:absolute;inset:0;
  background-image:linear-gradient(var(--gh) 1px,transparent 1px),linear-gradient(90deg,var(--gh) 1px,transparent 1px);background-size:44px 44px;
  -webkit-mask-image:radial-gradient(230px circle at var(--gx,-500px) var(--gy,-500px),#000,transparent 72%);mask-image:radial-gradient(230px circle at var(--gx,-500px) var(--gy,-500px),#000,transparent 72%)}
html[data-mx-bg=both] .mx-grid{background-image:var(--grid),var(--noise);background-size:44px 44px,220px}
@media (max-width:900px){.mx-grid:after{display:none}}

/* ================= Call to action: floating glass pill (desktop; phones keep the site's call bar) ================= */
.mx-pill{display:none}
@media (min-width:761px){
  .mx-pill{display:flex;align-items:center;gap:16px;position:fixed;z-index:35;left:50%;bottom:22px;padding:8px 8px 8px 26px;translate:-50% 34px;
    color:var(--g-ink);font:600 0.75rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;text-decoration:none;
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s,visibility 0s .4s,translate .6s var(--mx-spring),scale .4s var(--mx-spring)}   /* hidden = not focusable either */
  .mx-pill.on{opacity:1;visibility:visible;translate:-50% 0;pointer-events:auto;transition-delay:0s}
}
.mx-pill i{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--mx-r);font-style:normal;font-size:1rem;color:#161514;
  background:linear-gradient(180deg,#ff8a43,#E05F0E 60%,#d4580c);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 4px 10px -2px rgba(224,95,14,.55);transition:translate .4s var(--mx-spring)}
/* every control answers hover, press and focus; the tint warms toward orange on hover */
.mx-pill:hover{--g-fill:rgba(224,95,14,.42);scale:1.03}
.mx-pill:hover i{translate:3px 0}
.mx-pill:active{scale:.97}
.mx-pill:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* ================= Page transition: Push ================= */
/* Opt-in is unconditional so it cannot flip with a media query between two pages; reduced motion switches the animation off instead.
   The variant is a view-transition TYPE added at page reveal (inline script in <head>), not a selector on <html>:
   rules that match the root element by attribute stopped Chrome starting the transition at all. */
@view-transition{navigation:auto}
.site-header{view-transition-name:site-header}
@media (prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
html:active-view-transition-type(slide)::view-transition-old(root){animation:.55s cubic-bezier(.65,0,.25,1) both mx-vt-push-out;mix-blend-mode:normal}
html:active-view-transition-type(slide)::view-transition-new(root){animation:.55s cubic-bezier(.65,0,.25,1) both mx-vt-push-in;mix-blend-mode:normal}
@keyframes mx-vt-push-out{to{translate:-22% 0;opacity:.5}}
@keyframes mx-vt-push-in{from{translate:100% 0}}
/* back/forward traversal: the same push, reversed (type "slide-back" is added by the pagereveal script) */
html:active-view-transition-type(slide-back)::view-transition-old(root){animation:.55s cubic-bezier(.65,0,.25,1) both mx-vt-back-out;mix-blend-mode:normal}
html:active-view-transition-type(slide-back)::view-transition-new(root){animation:.55s cubic-bezier(.65,0,.25,1) both mx-vt-back-in;mix-blend-mode:normal}
@keyframes mx-vt-back-out{to{translate:100% 0}}
@keyframes mx-vt-back-in{from{translate:-22% 0;opacity:.5}}
.v5-h2,.v5-aud h3,.v5-pm h3{font-size-adjust:from-font}
