/* =====================================================================
   Hero 1 · Service-Map · "Schnitt A-A mit seiner Ebene" · Werklicht
   A precision model floats right of the copy on the page's light field. The canvas is transparent and its edges
   dissolve (mask), so no rectangle shows. The title block is a frosted card over the foot of the model field.
   Yellow marks only him.
   ===================================================================== */
.hero-m{
  --mf:calc(100cqi * .47);                    /* model field: starts right of the copy */
  --mf-fade:96px;                             /* the model dissolves over this width at the left edge of its field */
  --cv-t:76px;                                /* canvas top: just under the nav capsule */
  --tb-h:176px; --tb-b:28px; --tb-rail:304px; /* title block card */
  --mp-fig:#8A9099;
  --mp-glass:color-mix(in srgb, var(--card-solid) 72%, transparent);
}
/* two classes, so the hero's own values win over the shell's .hero defaults */
.hero.hero-m{ --copy-w:min(500px, 36cqi) }
.vp[data-look="nebel"] .hero-m{ --mp-fig:#7C8898 }
.vp[data-look="perlmutt"] .hero-m{ --mp-fig:#8E897F }
.vp[data-look="nacht"] .hero-m{ --mp-fig:#7D8693; --mp-glass:color-mix(in srgb, var(--card-solid) 78%, transparent) }

/* canvas: the model field, never under the copy. Its edges fade into the page, so close framings dissolve instead of clipping. */
.hero-m .mp-gl,.hero-m .mp-ov{ position:absolute; left:var(--mf); top:var(--cv-t); width:calc(100% - var(--mf)); height:calc(100% - var(--cv-t)) }
.hero-m .mp-gl{ z-index:1; display:block; outline:none; -webkit-tap-highlight-color:transparent;
  -webkit-mask:linear-gradient(90deg, transparent, #000 var(--mf-fade), #000 calc(100% - 26px), transparent), linear-gradient(180deg, transparent, #000 34px, #000 calc(100% - 22px), transparent);
  -webkit-mask-composite:source-in; mask-composite:intersect }

/* overlay: the same box as the canvas */
.hero-m .mp-ov{ z-index:4; pointer-events:none; overflow:hidden }
.hero-m .mp-labels,.hero-m .mp-stamps{ position:absolute; inset:0 }
/* every label is placed by its top-left corner in whole pixels; .vis is set by the collision pass, so nothing overlaps or gets clipped */
.hero-m .mp-pl,.hero-m .mp-stamp,.hero-m .mp-tag,.hero-m .mp-leg{ position:absolute; left:0; top:0; white-space:nowrap; opacity:0; visibility:hidden;
  transition:opacity 200ms linear, visibility 0s linear 200ms, color var(--t-2) var(--ease) }
.hero-m .vis{ opacity:1; visibility:visible; transition:opacity 200ms linear, visibility 0s, color var(--t-2) var(--ease) }
/* place names on his film: refined mono labels */
.hero-m .mp-pl{ font:500 11px/1 var(--f-mono); letter-spacing:.07em; color:var(--muted); font-variant-numeric:tabular-nums }
.hero-m .mp-pl.vis{ opacity:var(--la, 1) }
.hero-m .mp-pl.on{ color:var(--ink) }
/* finale: the POS numbers of the visited place on a second line */
.hero-m .mp-pl.two{ line-height:1 }
.hero-m .mp-pl-l.two{ text-align:right }
.hero-m .mp-pl small{ display:block; margin-top:4px; font:400 11px/1 var(--f-mono); letter-spacing:.07em; color:var(--muted) }
/* the active place pinned to the top of the drawing field, in the column of his plumb: a glass pill with his small square, then the name.
   The square's centre sits 13 px from the pill's edge (10 padding + 3), the JS places the pill by that. */
.hero-m .mp-pl.pin,.hero-m .mp-tag{ display:flex; align-items:center; height:22px; padding:0 10px; border-radius:var(--r-pill); color:var(--ink);
  background:var(--mp-glass); box-shadow:inset 0 0 0 1px var(--line), 0 1px 1px rgba(var(--sh),.05), 0 6px 14px -6px rgba(var(--sh),.28);
  -webkit-backdrop-filter:blur(10px) saturate(1.4); backdrop-filter:blur(10px) saturate(1.4) }
.hero-m .mp-pl.pin{ gap:7px }
.hero-m .mp-pl.pin::before{ content:""; flex:none; width:6px; height:6px; border-radius:1.5px; background:var(--him); box-shadow:0 1px 3px rgba(242,183,7,.5) }
.hero-m .mp-pl.pin[data-side="l"]::before{ order:1 }
.hero-m .mp-pl.pin.quiet::before{ display:none }
.vp[data-look="nacht"] .hero-m .mp-pl.pin::before{ box-shadow:none }
/* room notes beside the section cut */
.hero-m .mp-stamp{ font:500 11px/1 var(--f-mono); letter-spacing:.07em; color:var(--muted) }
.hero-m .mp-stamp.act{ color:var(--ink) }
/* role tags beside the ring of a person or machine */
.hero-m .mp-tag{ font:500 11px/1 var(--f-mono); letter-spacing:.07em }
/* legend: two quiet pills, one at the plinth, one at his film */
.hero-m .mp-leg{ display:flex; align-items:center; gap:8px; height:26px; padding:0 12px 0 10px; border-radius:var(--r-pill);
  font:450 12.5px/1 var(--f-sans); letter-spacing:-.005em; color:var(--ink2);
  background:var(--mp-glass); box-shadow:inset 0 0 0 1px var(--line), 0 6px 14px -8px rgba(var(--sh),.25);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px) }
.hero-m .mp-leg.vis{ opacity:var(--leg, 1) }
.hero-m .mp-leg i,.hero-m .mp-leg-m i{ width:8px; height:8px; flex:none; border-radius:2px }
.hero-m .mp-leg-a i,.hero-m .mp-leg-m .a{ background:var(--mp-fig) }
.hero-m .mp-leg-b i,.hero-m .mp-leg-m .b{ background:var(--him) }
.hero-m .mp-leg-m{ display:none }

/* title block (Schriftfeld) as a frosted card over the foot of the model field (.wl-card gives glass, radius, rim and shadow).
   Two columns share the row grid: header / body / footer. The model continues under the glass. */
.hero-m .mp-tb{ position:absolute; z-index:6; left:calc(var(--mf) - 40px); right:var(--gut); bottom:var(--tb-b); height:var(--tb-h);
  display:grid; grid-template-columns:minmax(0, 1fr) var(--tb-rail); transition:opacity var(--t-2) var(--ease) }
.hero-m .mp-pk,.hero-m .mp-rail{ position:relative; min-width:0; display:grid; grid-template-rows:38px minmax(0, 1fr) 42px; grid-template-columns:minmax(0, 1fr) }
.hero-m .mp-pk{ color:var(--ink) }
.hero-m .mp-rail::before{ content:""; position:absolute; left:0; top:14px; bottom:14px; width:1px; background:var(--line) }
.hero-m .mp-pk-r1,.hero-m .mp-rail-r1{ display:flex; align-items:center; min-width:0; margin:0 16px; border-bottom:1px solid var(--line);
  font:500 11px/1 var(--f-mono); letter-spacing:.06em; color:var(--muted); font-variant-numeric:tabular-nums }
.hero-m .mp-pk-r1{ gap:10px; margin-left:12px }
.hero-m .mp-pk-r1 .c{ white-space:nowrap }
.hero-m .mp-pk-r1 .pos{ flex:none; display:inline-flex; align-items:center; height:20px; padding:0 8px; border-radius:var(--r-pill); background:var(--line); color:var(--ink2) }
.hero-m .mp-pk-r1 .place{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; line-height:16px; color:var(--ink) }
.hero-m .mp-pk-r1 .time{ flex:none }
.hero-m .mp-pk-m{ display:none }
.hero-m .mp-pk-body{ padding:0 18px; min-height:0; display:flex; flex-direction:column; justify-content:center }
.hero-m .mp-pk .q{ margin:0 0 7px; font:500 20px/1.2 var(--f-sans); letter-spacing:-.022em; color:var(--ink); text-wrap:balance;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.hero-m .mp-pk .s{ margin:0; display:flex; gap:10px; font:400 14px/1.45 var(--f-sans); letter-spacing:-.003em; color:var(--ink2) }
.hero-m .mp-pk .s i{ flex:none; width:6px; height:6px; margin-top:7px; border-radius:1.5px; background:var(--him); box-shadow:0 1px 3px rgba(242,183,7,.5) }
.vp[data-look="nacht"] .hero-m .mp-pk .s i{ box-shadow:none }
.hero-m .mp-pk .s span{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.hero-m .mp-pk.partial .s i{ display:none }
.hero-m .mp-pk.partial .s{ color:var(--muted) }
.hero-m .mp-pk.partial .mp-pk-r3{ visibility:hidden }
.hero-m .mp-pk-r3{ display:flex; align-items:center; gap:12px; min-width:0; margin:0 16px; border-top:1px solid var(--line) }
.hero-m .mp-pk-r3 .c{ flex:none; padding-left:2px; font:500 11px/1 var(--f-mono); letter-spacing:.06em; color:var(--muted) }
.hero-m .mp-pk-r3 .mit{ display:block; min-width:0; font:450 13px/1.3 var(--f-sans); letter-spacing:-.005em; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.hero-m .mp-pk-r3 .mit.long{ white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:12.5px; line-height:1.22 }
.hero-m .mp-pk.in .mp-pk-body,.hero-m .mp-pk.in .mp-pk-r1 .c,.hero-m .mp-pk.in .mit,.hero-m .mp-pk.in .mp-pk-m{ animation:mp-in 300ms var(--ease) both }
@keyframes mp-in{ from{ opacity:0; transform:translateY(6px) } to{ opacity:1; transform:none } }
.hero-m .mp-pk.in .mp-pk-r1 .c{ animation-name:mp-fade }
@keyframes mp-fade{ from{ opacity:0 } to{ opacity:1 } }

/* process rail: a small network plan of the service process, ink only */
.hero-m .mp-rail-r1{ margin:0 14px 0 16px }
/* single-line fields that clip: a line box tall enough for the dots of capital umlauts (HÄNDLER) */
.hero-m .mp-rail-name{ flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:16px; color:var(--ink2) }
.hero-m .mp-net{ display:block; width:276px; height:68px; align-self:center; justify-self:center; overflow:visible }
.hero-m .mp-net .rt{ fill:none; stroke:color-mix(in srgb, var(--ink) 16%, transparent); stroke-width:1.25; stroke-linecap:round; stroke-linejoin:round; transition:stroke var(--t-2) var(--ease) }
.hero-m .mp-net .rt.in{ stroke:color-mix(in srgb, var(--ink) 82%, transparent) }
.hero-m .mp-net .rt.dot{ stroke-dasharray:.1 4; stroke-width:1.5 }
.hero-m .mp-net .hit{ fill:none; stroke:transparent; stroke-width:14; pointer-events:stroke; cursor:pointer }
.hero-m .mp-net .st{ cursor:pointer }
.hero-m .mp-net .st .dot{ fill:var(--card-solid); stroke:color-mix(in srgb, var(--ink) 24%, transparent); stroke-width:1.25; transition:fill var(--t-2) var(--ease), stroke var(--t-2) var(--ease) }
.hero-m .mp-net .st.in .dot{ stroke:var(--ink) }
.hero-m .mp-net .st.done .dot{ fill:var(--ink); stroke:var(--ink) }
.hero-m .mp-net .st.on .dot{ r:4.5px; fill:var(--ink); stroke:var(--ink) }
.hero-m .mp-net .st .ring{ fill:none; stroke:var(--ink); stroke-width:1; opacity:0; transition:opacity var(--t-2) var(--ease) }
.hero-m .mp-net .st.on .ring{ opacity:.55 }
.hero-m .mp-net .st .hit{ fill:transparent; stroke:none; stroke-width:0; pointer-events:fill }
.hero-m .mp-net .st:hover .dot{ stroke:var(--ink) }
/* POS numbers: faint outside the case, muted in it, ink at the current step */
.hero-m .mp-net .no{ font:400 11px/1 var(--f-mono); fill:var(--faint); font-variant-numeric:tabular-nums; pointer-events:none; transition:fill var(--t-2) var(--ease) }
.hero-m .mp-net .st.in .no{ fill:var(--muted) }
.hero-m .mp-net .st.on .no{ fill:var(--ink) }
.hero-m .mp-rail-r3{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 7px 0 16px; border-top:1px solid var(--line); min-width:0 }
.hero-m .mp-rail-now{ flex:1; min-width:0; font:500 11px/16px var(--f-mono); letter-spacing:.025em; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-variant-numeric:tabular-nums }
.hero-m .mp-btns{ display:flex; gap:3px; flex:none }
/* round controls: quiet discs on the glass */
.hero-m .mp-b{ width:27px; height:27px; padding:0; display:inline-grid; place-items:center; border:0; border-radius:50%; background:var(--line); color:var(--ink); cursor:pointer;
  transition:background-color var(--t-1) var(--ease), transform var(--t-1) var(--ease) }
.hero-m .mp-b:hover{ background:var(--line2) }
.hero-m .mp-b:active{ transform:scale(.96) }
.hero-m .mp-b svg{ width:14px; height:14px; display:block }
.hero-m .mp-b:focus-visible{ outline:2px solid var(--ink); outline-offset:2px }
.hero-m .mp-run{ display:none }

/* narrower desktops: the quote may take two lines, so it steps down a little to keep the body calm */
@container vp (min-width:761px) and (max-width:1359px){
  .hero-m{ --tb-rail:298px; --mf:calc(100cqi * .48); --mf-fade:112px }
  .hero-m .mp-rail-r1{ letter-spacing:.035em } .hero-m .mp-rail-now{ letter-spacing:.01em }
  .hero-m .mp-tb{ left:calc(var(--mf) - 60px) }
  .hero-m .mp-pk .q{ font-size:18px } .hero-m .mp-pk .s{ font-size:13px; gap:9px } .hero-m .mp-pk .s i{ margin-top:6.5px } }

/* phone: canvas full width under the nav, title block card and run line below, then the copy */
@container vp (max-width:760px){
  /* 478 = nav 62 + canvas 258 + 8 + card 104 + 6 + run line 32 + 8 */
  .hero.hero-m{ --vis-h:478px; --mp-cv:258px; --cv-t:62px }
  .hero-m .mp-gl,.hero-m .mp-ov{ left:0; top:var(--cv-t); width:100%; height:var(--mp-cv) }
  .hero-m .mp-gl{ -webkit-mask:linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent), linear-gradient(180deg, transparent 6px, #000 36px, #000 calc(100% - 20px), transparent);
    -webkit-mask-composite:source-in; mask-composite:intersect }
  .hero-m .mp-leg-a,.hero-m .mp-leg-b{ display:none }
  /* the legend: one quiet line at the top of the canvas; his plumb enters below it */
  .hero-m .mp-leg-m{ display:flex; align-items:center; gap:14px; position:absolute; left:14px; top:6px; height:24px; padding:0 11px 0 9px; border-radius:var(--r-pill);
    font:450 11px/1 var(--f-sans); color:var(--ink2); background:var(--mp-glass); box-shadow:inset 0 0 0 1px var(--line);
    -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px) }
  .hero-m .mp-leg-m span{ display:inline-flex; align-items:center; gap:6px }
  .hero-m .mp-tb{ display:contents }
  .hero-m .mp-tb::before{ display:none }
  .hero-m .mp-pk{ position:absolute; z-index:6; left:16px; right:16px; top:calc(var(--cv-t) + var(--mp-cv) + 8px); width:auto; height:104px; grid-template-rows:auto 1fr;
    background:var(--card-bg); border-radius:14px; box-shadow:var(--card-shadow);
    -webkit-backdrop-filter:blur(var(--blur)) saturate(1.5); backdrop-filter:blur(var(--blur)) saturate(1.5) }
  .hero-m .mp-pk::before{ content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background:var(--card-rim); pointer-events:none;
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude }
  .hero-m .mp-pk-r1,.hero-m .mp-pk-r3{ display:none }
  .hero-m .mp-pk-m{ display:block; height:28px; margin:0 12px; border-bottom:1px solid var(--line); font:500 11px/28px var(--f-mono); letter-spacing:.05em; color:var(--muted);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
  .hero-m .mp-pk-body{ padding:8px 14px 0 }
  .hero-m .mp-pk .q{ font-size:17px; margin-bottom:5px; -webkit-line-clamp:2 }
  .hero-m .mp-pk .s{ font-size:13px; line-height:1.4; gap:8px }
  .hero-m .mp-pk .s i{ margin-top:6px }
  .hero-m .mp-pk .s span{ -webkit-line-clamp:1; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
  .hero-m .mp-pk.stmt .q{ -webkit-line-clamp:1 }
  .hero-m .mp-rail{ display:none }
  .hero-m .mp-run{ position:absolute; z-index:6; left:16px; right:16px; top:calc(var(--cv-t) + var(--mp-cv) + 8px + 104px + 6px); height:32px;
    display:flex; align-items:center; gap:8px; padding-left:2px; font:500 11px/1 var(--f-mono); letter-spacing:.05em; color:var(--muted) }
  .hero-m .mp-run-name{ flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:16px }
  .hero-m .mp-run-n{ color:var(--ink); font-variant-numeric:tabular-nums }
}
.hero-m.mp-freeze *,.hero-m.mp-freeze *::before{ transition:none!important; animation-duration:1ms!important }
@media (prefers-reduced-motion: reduce){
  .hero-m .mp-pk.in .mp-pk-body,.hero-m .mp-pk.in .mp-pk-r1 .c,.hero-m .mp-pk.in .mit,.hero-m .mp-pk.in .mp-pk-m{ animation-duration:200ms; animation-name:mp-fade }
  .hero-m .mp-pl,.hero-m .mp-stamp,.hero-m .mp-tag,.hero-m .mp-leg,.hero-m .mp-net *{ transition:none!important }
}

/* scrub mode (the page's day scene, js/site-day.js): no title block, run line or legend of its own. The page places the canvas;
   the ghost canvas lies exactly on it and holds the previous look's frame while the light changes. Overlay labels follow the
   light with the same 600 ms. */
.hero-m.mp-scrub .mp-tb,.hero-m.mp-scrub .mp-run,.hero-m.mp-scrub .mp-leg,.hero-m.mp-scrub .mp-leg-m{ display:none!important }
.hero-m .mp-ghost{ position:absolute; z-index:2; display:block; pointer-events:none; visibility:hidden }
.hero-m.mp-scrub .mp-pl,.hero-m.mp-scrub .mp-stamp,.hero-m.mp-scrub .mp-tag{
  transition:opacity 200ms linear, visibility 0s linear 200ms, color 600ms var(--ease-io), background-color 600ms var(--ease-io), box-shadow 600ms var(--ease-io) }
.hero-m.mp-scrub .vis{ transition:opacity 200ms linear, visibility 0s, color 600ms var(--ease-io), background-color 600ms var(--ease-io), box-shadow 600ms var(--ease-io) }

/* bubble mode (the homepage hero, ctx.bubbles): on the desktop there is no title block. The model takes the whole hero and
   runs on, faint, under the copy; each step speaks from his terminal as a bubble; the case and pause sit at the foot. */
@container vp (min-width:761px){
  .hero-m.mp-bub .mp-gl,.hero-m.mp-bub .mp-ov{ left:0; width:100% }
  .hero-m.mp-bub .mp-gl{
    -webkit-mask:linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.08) 30%, rgba(0,0,0,.38) 40%, #000 50%, #000 calc(100% - 26px), transparent), linear-gradient(180deg, transparent, #000 34px, #000 calc(100% - 46px), transparent);
    -webkit-mask-composite:source-in; mask-composite:intersect }
  .hero-m.mp-bub .mp-tb{ display:none }
  .hero-m.mp-bub .mp-run{ position:absolute; z-index:6; right:var(--gut); bottom:20px; display:flex; align-items:center; gap:10px; height:34px; padding:0 4px 0 14px;
    border-radius:var(--r-pill); background:var(--mp-glass); box-shadow:inset 0 0 0 1px var(--line), 0 6px 14px -8px rgba(var(--sh),.25);
    -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); font:500 11px/1 var(--f-mono); letter-spacing:.06em; color:var(--muted); max-width:min(620px, 56%) }
  .hero-m.mp-bub .mp-run-name{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
  .hero-m.mp-bub .mp-run-n{ font:500 12.5px/1 var(--f-sans); letter-spacing:-.005em; color:var(--ink); white-space:nowrap }
  .hero-m.mp-bub .mp-run-n:empty{ display:none }
  .hero-m.mp-bub .mp-run .mp-b{ width:26px; height:26px }
}
/* his bubble: the active terminal label, opened up. Time and place in mono, the customer's sentence, his line with his square. */
.hero-m .mp-pl.bub{ display:grid; gap:6px; width:252px; height:auto; padding:11px 13px 12px; white-space:normal; border-radius:14px; color:var(--ink);
  background:var(--mp-glass); box-shadow:inset 0 0 0 1px var(--line), 0 1px 1px rgba(var(--sh),.05), 0 10px 24px -10px rgba(var(--sh),.32);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); letter-spacing:0; line-height:1.3 }
.hero-m .mp-pl.bub::before{ display:none }
.hero-m .mp-pl.bub .bh{ display:flex; justify-content:space-between; gap:10px; font:500 11px/1 var(--f-mono); letter-spacing:.07em; color:var(--muted) }
.hero-m .mp-pl.bub .bh b{ font-weight:500; color:var(--ink) }
.hero-m .mp-pl.bub .bh em{ font-style:normal }
.hero-m .mp-pl.bub .bq{ font:600 15px/1.28 var(--f-sans); letter-spacing:-.016em }
.hero-m .mp-pl.bub .bs{ display:flex; gap:8px; align-items:baseline; font:400 13px/1.38 var(--f-sans); color:var(--ink2) }
.hero-m .mp-pl.bub .bs::before{ content:""; flex:none; width:7px; height:7px; border-radius:2px; background:var(--him); transform:translateY(-1px) }
.hero-m .mp-pl.bub .bs-p::before{ display:none }
/* beats (the homepage hero): three bubbles only, so each one is large enough to read in passing */
.hero-m.mp-beats .mp-pl.bub{ width:300px; gap:8px; padding:14px 16px 15px }
.hero-m.mp-beats .mp-pl.bub .bh{ font-size:11px }
.hero-m.mp-beats .mp-pl.bub .bq{ font:600 19px/1.22 var(--f-display); letter-spacing:-.02em }
.hero-m.mp-beats .mp-pl.bub .bs{ font-size:14.5px; line-height:1.4 }

/* =====================================================================
   The stage (the homepage hero, ctx.beats): the people of a service organisation in one model, AEDIL as a role over it.
   The canvas spans the hero; the script places the model in the largest free field beside the copy, under the yellow role card.
   On the phone the map comes first, then the copy.
   ===================================================================== */
.hero-m{ --sf:0px; --sf-fade:40px; --st-b:30px }
.hero-m.mp-stage .mp-gl,.hero-m.mp-stage .mp-ov{ left:var(--sf); top:var(--cv-t); width:calc(100% - var(--sf)); height:calc(100% - var(--cv-t)) }
.hero-m.mp-stage .mp-gl{ pointer-events:none;
  -webkit-mask:linear-gradient(90deg, transparent, #000 var(--sf-fade), #000 calc(100% - 16px), transparent), linear-gradient(180deg, transparent, #000 12px, #000 calc(100% - 8px), transparent);
  -webkit-mask-composite:source-in; mask-composite:intersect }
/* the people's names: large, on glass; the name of the person AEDIL is speaking to turns solid */
.hero-m .mp-st{ position:absolute; left:0; top:0; display:flex; align-items:center; gap:.53em; height:2.13em; padding:0 .93em; border-radius:var(--r-pill); white-space:nowrap;
  font:600 clamp(15px, 1.04cqi, 19px)/1 var(--f-sans); letter-spacing:-.012em; color:var(--ink2); background:var(--mp-glass); opacity:0;
  box-shadow:inset 0 0 0 1px var(--line), 0 1px 1px rgba(var(--sh),.04), 0 8px 18px -10px rgba(var(--sh),.3);
  -webkit-backdrop-filter:blur(10px) saturate(1.3); backdrop-filter:blur(10px) saturate(1.3);
  transition:opacity 200ms linear, color var(--t-2) var(--ease), background-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease) }
.hero-m .mp-st b{ display:none }
.hero-m .mp-st.on{ color:var(--ink); background:var(--card-solid); box-shadow:inset 0 0 0 1px var(--line2), 0 1px 2px rgba(var(--sh),.06), 0 12px 26px -12px rgba(var(--sh),.42) }
.hero-m .mp-st.on b{ display:inline-grid; place-items:center; flex:none; width:1.7em; height:1.7em; margin-left:-.58em; border-radius:.5em; background:var(--him); color:var(--on-him); font:700 .8em/1 var(--f-sans) }
/* AEDIL as a role: the yellow card over the model, the lines from it to every person, one sentence at a time */
.hero-m .mp-lines{ position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.hero-m .mp-lines .l{ fill:none; stroke:var(--him); stroke-width:2.6; stroke-dasharray:1; stroke-dashoffset:1 }
.hero-m .mp-lines .p{ fill:none; stroke:var(--him); stroke-width:6; stroke-linecap:round; stroke-dasharray:.12 1.2; visibility:hidden }
.hero-m .mp-lines .n{ fill:var(--him); opacity:0 }
.hero-m .mp-role{ position:absolute; left:0; top:0; width:clamp(226px, 25cqi, 360px); padding:clamp(11px, 1.2cqi, 17px) clamp(15px, 1.65cqi, 24px) clamp(12px, 1.25cqi, 18px); border-radius:18px; opacity:0;
  background:var(--him); color:var(--on-him); --mark:var(--on-him); box-shadow:0 22px 44px -18px rgba(150,105,0,.65) }
.hero-m .mp-role small{ display:block; font:600 clamp(11.5px, .9cqi, 13.5px)/1.2 var(--f-sans); opacity:.78 }
.hero-m .mp-role b{ display:block; margin-top:.28em; font:700 clamp(19px, 1.92cqi, 28px)/1.1 var(--f-display); letter-spacing:-.024em; white-space:nowrap }
.hero-m .mp-role span{ display:flex; align-items:center; gap:.42em; margin-top:.42em; font:700 clamp(12.5px, .96cqi, 14.5px)/1 var(--f-sans); letter-spacing:.03em }
.hero-m .mp-role svg{ width:1.28em; height:1.07em; flex:none; color:var(--on-him) }
.hero-m .mp-say{ position:absolute; left:0; top:0; display:flex; align-items:center; gap:.62em; width:max-content; padding:.7em 1em .7em .82em; border-radius:16px; opacity:0;
  font:600 clamp(14px, 1.12cqi, 17px)/1.25 var(--f-sans); letter-spacing:-.012em; color:var(--ink); background:var(--card-solid); --mark:var(--him);
  box-shadow:inset 0 0 0 1.5px var(--him), 0 14px 30px -12px rgba(var(--sh),.45) }
.hero-m .mp-say svg{ width:1.42em; height:1.18em; flex:none; color:var(--him) }
.hero-m .mp-say span{ text-wrap:balance }
.hero-m .mp-say i{ position:absolute; left:var(--tail, 50%); bottom:-6px; width:12px; height:12px; margin-left:-6px; transform:rotate(45deg); background:var(--card-solid); box-shadow:1.5px 1.5px 0 var(--him); border-radius:0 0 3px 0 }
/* pause and play at the foot of the hero */
.hero-m .mp-pause{ position:absolute; z-index:7; right:var(--gut); bottom:calc(var(--st-b) - 4px); width:36px; height:36px; background:var(--mp-glass); box-shadow:inset 0 0 0 1px var(--line2);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px) }
.hero-m .mp-pause[hidden]{ display:none }
@container vp (max-width:760px){
  .hero.hero-m{ --mp-cv:372px; --vis-h:444px }
  .hero-m.mp-stage .mp-gl,.hero-m.mp-stage .mp-ov{ left:0; width:100%; height:var(--mp-cv) }
  .hero-m.mp-stage .mp-gl{ -webkit-mask:linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent), linear-gradient(180deg, transparent, #000 8px, #000 calc(100% - 6px), transparent);
    -webkit-mask-composite:source-in; mask-composite:intersect }
  .hero-m .mp-st{ font-size:12.5px }
  .hero-m .mp-pause{ right:12px; top:calc(var(--cv-t) + var(--mp-cv) - 40px); bottom:auto; width:32px; height:32px }
  .hero-m .mp-role{ border-radius:14px }
  .hero-m .mp-say{ font-size:13.5px; padding:.6em .85em .6em .7em; border-radius:13px }
}

/* touch targets: the pause button keeps its look and gains a 44 px hit area */
@media (max-width:760px), (pointer:coarse){
  .hero-m .mp-pause::after{ content:""; position:absolute; left:50%; top:50%; width:44px; height:44px; transform:translate(-50%, -50%) }
}
