/* Shared vector motion treatment. Brand color stays with the page navigation. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.resource-morph{--morph-halo:#75bd8638;position:relative;isolation:isolate;width:100%;height:100%;max-width:670px;margin:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px 20px 24px;pointer-events:auto;font-family:Manrope,Arial,sans-serif}
.morph-halo{position:absolute;z-index:-1;width:83%;aspect-ratio:1;border-radius:50%;top:1%;left:8%;background:radial-gradient(circle,var(--morph-halo),transparent 70%);transition:background 1.2s ease;pointer-events:none}
.morph-art{display:block;width:100%;max-width:380px;max-height:62%;overflow:visible;filter:drop-shadow(0 26px 22px rgba(22,58,39,.13))}
.morph-story{position:relative;width:100%;max-width:390px;text-align:center;min-height:110px;margin-top:0;color:var(--ink,#173026)}
.morph-step{font-size:12px;font-weight:600;letter-spacing:.14em;color:var(--muted,#4b6457);font-variant-numeric:tabular-nums}
.morph-story h3{font-size:clamp(24px,2.5vw,35px);font-weight:600;letter-spacing:-.04em;line-height:1.18;margin:9px 0 12px}
.morph-story p{font-size:15px;line-height:1.65;margin:0;color:var(--muted,#4b6457);text-wrap:pretty}
.morph-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;padding:5px;border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.58);border-radius:18px;box-shadow:0 10px 32px rgba(38,59,48,.07);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);margin-top:20px;flex-shrink:0;color:var(--ink,#173026)}
.morph-controls button{font:inherit;font-size:13px;font-weight:600;line-height:1.3;min-height:44px;min-width:48px;border:0;background:transparent;color:inherit;padding:10px 15px;border-radius:13px;cursor:pointer;transition:background .4s cubic-bezier(.22,1,.36,1),box-shadow .4s,color .4s,transform .4s}
.morph-controls button[aria-pressed=true]:not(.morph-pause){background:rgba(255,255,255,.91);box-shadow:0 5px 14px rgba(37,56,46,.07)}
.morph-controls button:hover{background:rgba(255,255,255,.73);transform:translateY(-1px)}
.morph-controls button:focus-visible{outline:3px solid var(--accent,#27834a);outline-offset:4px}
.morph-controls .morph-pause{margin-left:4px;border-left:1px solid rgba(83,103,91,.17);border-radius:10px;min-width:44px;padding:10px}
[data-theme=dark] .morph-controls{background:rgba(37,45,46,.62);border-color:rgba(255,255,255,.15);box-shadow:0 10px 36px rgba(0,0,0,.14)}
[data-theme=dark] .morph-controls button[aria-pressed=true]:not(.morph-pause),[data-theme=dark] .morph-controls button:hover{background:rgba(255,255,255,.12);box-shadow:none}
[data-theme=dark] .morph-art{filter:drop-shadow(0 25px 25px rgba(0,0,0,.24))}
@media(max-width:760px){.resource-morph{padding:0 14px 12px}.morph-art{max-width:310px;max-height:none;height:290px}.morph-story{min-height:95px;max-width:360px}.morph-story h3{font-size:27px;margin-top:5px;margin-bottom:8px}.morph-story p{font-size:14px}.morph-step{font-size:11px}.morph-controls{margin-top:14px}.morph-controls button{font-size:12px;padding:10px 13px}}
@media(max-width:360px){.morph-art{height:250px;max-width:265px}.morph-controls button{padding:10px 10px}.morph-story p{font-size:13px}}
@media(prefers-reduced-transparency:reduce){.morph-controls{background:var(--surface,#fff);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.morph-controls button,.morph-halo{transition:none}.morph-art{filter:none}}
