/* Scope every rule to the experimental hero; keep the existing hero dimensions. */
.hero-work-slider .hero-work-image{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background:var(--tint);touch-action:pan-y;cursor:zoom-in}
.hero-work-slider .hero-work-image img{width:100%;height:100%;object-fit:contain;object-position:center}
.hero-work-slider.is-ready .hero-work-image{height:calc(100% - 100px);bottom:100px}
.hero-work-slider.is-ready figcaption{bottom:52px;left:18px;right:18px;max-width:none;padding:10px 14px;border-radius:12px;font-size:15px;pointer-events:none}
.hero-work-slider figcaption strong{font-weight:500}
.hero-work-slider figcaption span{font-size:12px;margin-top:2px}
.hero-work-slider .hero-work-count{position:absolute;top:16px;left:16px;background:rgb(255 255 255 / 94%);color:var(--ink);padding:5px 10px;border-radius:20px;font-size:12px;font-variant-numeric:tabular-nums;pointer-events:none}
.hero-work-slider .hero-work-arrow{position:absolute;top:calc(50% - 72px);width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:rgb(255 255 255 / 94%);color:var(--brand);display:grid;place-items:center;box-shadow:0 2px 10px rgb(37 17 46 / 6%)}
.hero-work-slider .hero-work-arrow span{font:32px/1 'Segoe UI',Arial,sans-serif;transform:translateY(-2px)}
.hero-work-slider .hero-work-prev{left:12px}.hero-work-slider .hero-work-next{right:12px}
.hero-work-slider .hero-work-tabs{position:absolute;inset:auto 12px 6px;display:flex;gap:6px}
.hero-work-slider .hero-work-tabs button{flex:1;min-width:0;min-height:44px;line-height:1.2;padding:8px 5px;font-size:12px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--muted)}
.hero-work-slider .hero-work-tabs button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--white)}
.hero-work-slider .hero-work-fallback{position:absolute;left:20px;top:16px;background:var(--white);padding:8px 12px;border-radius:12px;font-size:13px}
@media(hover:hover){.hero-work-slider .hero-work-arrow:hover,.hero-work-slider .hero-work-tabs button:not([aria-pressed="true"]):hover{background:var(--soft);color:var(--brand)}}
@media(max-width:374px){.hero-work-slider .hero-work-tabs{inset-inline:8px;gap:4px}.hero-work-slider .hero-work-tabs button{font-size:11px}.hero-work-slider.is-ready figcaption{left:12px;right:12px;padding:8px 12px;font-size:14px}}
