/* Visitor Multifocal: one experience, preserving the original scene ratio. */
.mf-experience-page { padding:30px 6% 42px; background:#fff; }
.mf-demo { width:100%; max-width:1180px; margin:0 auto; color:#17384c; }
/* Align the visitor experience with the category banner's content margins. */
.mf-experience-page .mf-demo { max-width:none; }
.mf-demo .mf-heading { display:block; margin:0 0 24px; text-align:center; }
.mf-demo .mf-heading h1 { margin:0; color:#17384c; font-family:var(--sans,Arial,sans-serif); font-size:clamp(30px,3.2vw,46px); font-weight:400; line-height:1.16; letter-spacing:-.045em; }
.mf-demo .mf-heading>p { max-width:none; margin:10px 0 0; color:#647b8a; font-size:max(var(--ebm-reading-min,16px),calc(15px * var(--ebm-reading-scale,1.18))); line-height:1.5; }
.mf-demo .mf-stage { width:100%; aspect-ratio:800/520; position:relative; overflow:hidden; border-radius:3px; background:#eef3f6; }
.mf-demo .mf-stage canvas { display:block; width:100%; height:100%; cursor:grab; touch-action:pan-y; }
.mf-demo .mf-stage canvas:active { cursor:grabbing; }
.mf-demo .mf-stage svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.mf-demo .mf-zones[hidden],.mf-demo .mf-loading[hidden] { display:none; }
.mf-demo .mf-zones path { fill:none; stroke:#fff; stroke-width:2; stroke-dasharray:.1 7; stroke-linecap:round; filter:drop-shadow(0 1px 1px #17384cb3); }
.mf-demo .mf-zones text { font:500 14px Arial,sans-serif; letter-spacing:1.5px; fill:#fff; text-anchor:middle; paint-order:stroke; stroke:#17384c80; stroke-width:3px; stroke-linejoin:round; }
.mf-demo .mf-zones .mf-distortion-label { font-size:10px; letter-spacing:1.2px; }
.mf-demo .mf-loading { position:absolute; inset:45% 20px auto; text-align:center; color:#385b70; }
.mf-demo .mf-drag-hint { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); padding:7px 14px; border:1px solid #ffffff80; border-radius:3px; background:#ffffffdf; color:#28495e; font-size:14px; line-height:1.4; white-space:nowrap; pointer-events:none; transition:opacity .25s; }
.mf-demo.mf-has-explored .mf-drag-hint { opacity:0; }
.mf-demo .mf-options { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:0; margin:0; padding:0; border-bottom:1px solid #dce5eb; }
.mf-demo .mf-options button { position:relative; min-width:0; min-height:60px; padding:16px 5px; border:0; border-radius:0; background:transparent; font-family:var(--sans,Arial,sans-serif); font-size:max(var(--ebm-reading-min,16px),calc(17px * var(--ebm-reading-scale,1.18))); font-weight:400; line-height:1.4; letter-spacing:-.025em; color:#71828d; cursor:pointer; transition:color .2s; }
.mf-demo .mf-options button:hover { color:#17384c; }
.mf-demo .mf-options button[aria-pressed=true] { color:#17384c; }
.mf-demo .mf-options button::after { content:''; position:absolute; height:2px; left:25%; right:25%; bottom:0; background:#235c80; transform:scaleX(0); transition:transform .25s; }
.mf-demo .mf-options button[aria-pressed=true]::after { transform:scaleX(1); }
.mf-demo .mf-controls { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; margin:6px 0 0; }
.mf-demo .mf-controls button { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:8px 0; border:0; background:none; color:#5d7687; font-family:var(--sans,Arial,sans-serif); font-size:16px; font-weight:400; cursor:pointer; }
.mf-demo .mf-zone-switch { position:relative; display:inline-block; width:28px; height:16px; border:1px solid #a1b2bd; border-radius:12px; background:#fff; transition:background .2s,border-color .2s; }
.mf-demo .mf-zone-switch::after { content:''; position:absolute; left:3px; top:3px; width:8px; height:8px; border-radius:50%; background:#8099a9; transition:transform .2s,background .2s; }
.mf-demo .mf-zone-toggle[aria-pressed=true] .mf-zone-switch { background:#235c80; border-color:#235c80; }
.mf-demo .mf-zone-toggle[aria-pressed=true] .mf-zone-switch::after { background:#fff; transform:translateX(12px); }
.mf-demo .mf-reset[hidden] { display:block; visibility:hidden; pointer-events:none; }
.mf-demo .mf-note { margin:6px 0 0; color:#73838f; font-size:14px; line-height:1.6; }
.mf-demo button:focus-visible { outline:2px solid #28689c; outline-offset:3px; }
.mf-demo canvas:focus-visible { outline:2px solid #28689c; outline-offset:-4px; }
@media(min-width:900px) { .mf-demo { max-width:clamp(680px,calc((100svh - 320px) * 1.53846),1180px); } }
/* Visitor desktop: keep the scene bounded when browser zoom expands the viewport.
   Canvas and SVG retain their shared 800/520 coordinate system. */
@media(min-width:900px) {
  #visitor-view > .mf-experience-page .mf-demo { max-width:1180px; }
  #visitor-view > .mf-experience-page .mf-stage { max-height:767px; }
}
@media(max-width:700px) {
  .mf-experience-page { padding:26px 5% 32px; }
  .mf-demo .mf-heading { margin-bottom:20px; }
  .mf-demo .mf-heading h1 { font-size:clamp(30px,7vw,40px); line-height:1.14; }
  .mf-demo .mf-heading>p { margin-top:12px; font-size:16px; }
  .mf-demo .mf-options { grid-template-columns:repeat(3,minmax(0,1fr)); padding-top:4px; }
  .mf-demo .mf-options button { min-height:52px; padding:12px 4px; font-size:18px; }
  .mf-demo .mf-options button::after { left:27%; right:27%; }
  .mf-demo .mf-drag-hint { bottom:10px; font-size:13px; padding:6px 11px; }
  .mf-demo .mf-note { margin-top:8px; }
}
@media(prefers-reduced-motion:reduce) { .mf-demo *,.mf-demo *::after { transition:none!important; } }
