/* Isolated styles for the HEIBOR interactive hero test template. */
#stage.heibor-interactive-hero{--hero-bg:#f7f8fa;--hero-ink:#17191c;--hero-yellow:#fcd21d;position:relative;isolation:isolate;overflow:hidden;width:100%;height:calc(100svh - 88px);min-height:620px;background:var(--hero-bg);color:var(--hero-ink);font-family:'Lexend',sans-serif;cursor:none;touch-action:pan-y}
#stage.heibor-interactive-hero *{box-sizing:border-box}
#stage.heibor-interactive-hero .art{position:absolute;inset:0;z-index:1;perspective:none;transform-style:flat;pointer-events:none}
#stage.heibor-interactive-hero .sketch-wrap{position:absolute;inset:0;width:100%;height:100%;opacity:1;mix-blend-mode:normal;filter:none;transform:none;transition:opacity .45s ease}
#stage.heibor-interactive-hero .sketch-wrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 54%;opacity:.4;mix-blend-mode:multiply;filter:grayscale(1) contrast(1.08);mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 94%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 94%,transparent 100%);transition:opacity .45s ease}
#stage.heibor-interactive-hero .sketch-tag{position:absolute;right:6%;left:auto;bottom:9%;font-size:9px;letter-spacing:.2em;color:#746d5e}
#stage.heibor-interactive-hero .drawing-lines{position:absolute;inset:0;pointer-events:none;opacity:.35}
#stage.heibor-interactive-hero .drawing-lines svg{width:100%;height:100%}
#stage.heibor-interactive-hero .draw-line{fill:none;stroke:#b3a47f;stroke-width:1.1;stroke-dasharray:900;stroke-dashoffset:900;animation:heiborSketchTrace 4.8s cubic-bezier(.55,.05,.25,1) infinite}
#stage.heibor-interactive-hero .draw-line.lag{animation-delay:.65s;opacity:.55}
#stage.heibor-interactive-hero .metal-reveal{position:absolute;inset:0;z-index:3;overflow:visible;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s ease,visibility 0s linear .4s}
#stage.heibor-interactive-hero .metal-art{position:absolute;inset:0;width:100%;height:100%;transform-origin:51% 52%;filter:drop-shadow(0 24px 24px #38352c55)}
#stage.heibor-interactive-hero .metal-art canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
#stage.heibor-interactive-hero .bracelet-svg{width:100%;height:100%;overflow:visible}
#stage.heibor-interactive-hero #metalArt>.bracelet-svg{display:none!important}
#stage.heibor-interactive-hero.is-interacting .sketch-wrap{opacity:0;filter:blur(4px)}
#stage.heibor-interactive-hero.is-interacting .metal-reveal{opacity:1;visibility:visible;transition:opacity .4s ease}
#stage.heibor-interactive-hero .copy{position:absolute;z-index:6;left:7%;right:auto;top:auto;bottom:12%;transform:none;width:min(86%,820px);max-width:820px;padding:0;text-align:left;pointer-events:none;font-family:'Lexend',sans-serif}
#stage.heibor-interactive-hero .copy-primary{width:100%;text-align:left}
#stage.heibor-interactive-hero .ribbon-mask{display:block;overflow:hidden;perspective:1000px}
#stage.heibor-interactive-hero .eyebrow-mask{width:max-content;max-width:100%;margin:0 0 14px;padding:3px 0}
#stage.heibor-interactive-hero .copy .eyebrow{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0;color:var(--hero-yellow);font:600 14px/1.4 'Lexend',sans-serif;letter-spacing:.22em;text-shadow:none}
#stage.heibor-interactive-hero .copy .eyebrow:before{content:"";display:block;width:24px;height:2px;background:var(--hero-yellow)}
#stage.heibor-interactive-hero .copy h1{display:flex;flex-direction:column;align-items:flex-start;margin:0;color:var(--hero-ink);font:700 clamp(32px,4.2vw,58px)/1.15 'Lexend',sans-serif;letter-spacing:-.02em;text-align:left;text-shadow:none}
#stage.heibor-interactive-hero .title-mask{width:max-content;max-width:100%;margin:0;padding:3px 0}
#stage.heibor-interactive-hero .title-mask>span{display:block;white-space:normal;transform-origin:50% 100%}
#stage.heibor-interactive-hero .title-one>span,#stage.heibor-interactive-hero .title-two>span{font:inherit;letter-spacing:inherit;line-height:inherit}
#stage.heibor-interactive-hero .copy .accent,#stage.heibor-interactive-hero .quote-emphasis{color:var(--hero-yellow)}
#stage.heibor-interactive-hero .copy-secondary{position:absolute;left:0;top:auto;bottom:0;width:100%;max-width:820px;margin:0;padding:0;text-align:left;transform:none}
#stage.heibor-interactive-hero .copy .sub{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:820px;margin:0;color:var(--hero-ink);font-family:'Lexend',sans-serif;line-height:1.32;text-shadow:none}
#stage.heibor-interactive-hero .quote-line{display:block;color:var(--hero-ink);font:400 clamp(24px,3vw,42px)/1.32 'Lexend',sans-serif}
#stage.heibor-interactive-hero .quote-emphasis{font:600 clamp(24px,3vw,42px)/1.32 'Lexend',sans-serif}
#stage.heibor-interactive-hero .copy-primary .eyebrow{animation:heiborRibbonRise 2.1s cubic-bezier(.2,.68,.22,1) .18s both}
#stage.heibor-interactive-hero .copy-primary .title-one>span{animation:heiborRibbonRise 2.25s cubic-bezier(.2,.68,.22,1) .34s both}
#stage.heibor-interactive-hero .copy-primary .title-two>span{animation:heiborRibbonRise 2.4s cubic-bezier(.2,.68,.22,1) .48s both}
#stage.heibor-interactive-hero .copy-secondary .sub{opacity:0;transform:translate3d(0,125%,0) rotateX(-18deg) skewX(-3deg);filter:blur(5px)}
#stage.heibor-interactive-hero.is-interacting .copy-primary .eyebrow,#stage.heibor-interactive-hero.is-interacting .copy-primary .title-mask>span{animation:heiborRibbonLift 1.15s cubic-bezier(.55,.02,.82,.35) both}
#stage.heibor-interactive-hero.is-interacting .copy-primary .title-two>span{animation-delay:.08s}
#stage.heibor-interactive-hero.is-interacting .copy-secondary .sub{animation:heiborRibbonRise 2.2s cubic-bezier(.2,.68,.22,1) .24s both}
#stage.heibor-interactive-hero.has-interacted:not(.is-interacting) .copy-secondary .sub{animation:heiborRibbonLift 1.1s cubic-bezier(.55,.02,.82,.35) both}
#stage.heibor-interactive-hero .bottom{position:absolute;z-index:9;bottom:0;left:5.4%;right:5.4%;height:57px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #4b463833;color:#5e594f;font:500 8px/1 'Lexend',sans-serif;letter-spacing:.19em}
#stage.heibor-interactive-hero .hint{display:flex;align-items:center;gap:9px}
#stage.heibor-interactive-hero .hint i{width:6px;height:6px;border-radius:50%;background:#a88e5d;box-shadow:0 0 10px #a88e5d}
#stage.heibor-interactive-hero .mobile-hint{display:none}
#stage.heibor-interactive-hero .model-error:after{content:attr(data-error);position:absolute;left:4%;right:4%;top:50%;transform:translateY(-50%);font:10px/1.5 monospace;white-space:pre-wrap;color:#a33}
@keyframes heiborSketchTrace{0%{stroke-dashoffset:900;opacity:0}15%{opacity:.68}65%{stroke-dashoffset:0;opacity:.58}100%{stroke-dashoffset:0;opacity:.2}}
@keyframes heiborRibbonRise{0%{opacity:0;transform:translate3d(0,125%,0) rotateX(-18deg) skewX(-3deg);filter:blur(6px)}65%{opacity:1;filter:blur(0)}100%{opacity:1;transform:translate3d(0,0,0) rotateX(0) skewX(0);filter:blur(0)}}
@keyframes heiborRibbonLift{0%{opacity:1;transform:translate3d(0,0,0) rotateX(0) skewX(0);filter:blur(0)}100%{opacity:0;transform:translate3d(0,-125%,0) rotateX(18deg) skewX(3deg);filter:blur(6px)}}
@media(max-width:1100px){#stage.heibor-interactive-hero .copy h1{font-size:clamp(32px,4.2vw,46px)}#stage.heibor-interactive-hero .quote-line,#stage.heibor-interactive-hero .quote-emphasis{font-size:clamp(24px,3vw,32px)}}
@media(max-width:768px){#stage.heibor-interactive-hero{height:calc(100svh - 68px);min-height:620px}#stage.heibor-interactive-hero .copy{left:7%;bottom:12%;width:86%}#stage.heibor-interactive-hero .copy h1{font-size:clamp(32px,7vw,42px)}#stage.heibor-interactive-hero .sketch-wrap img{object-position:center 58%;opacity:.35}#stage.heibor-interactive-hero .metal-reveal{inset:0}#stage.heibor-interactive-hero .bottom{left:6%;right:6%;height:48px;font-size:7px}#stage.heibor-interactive-hero .bottom>span:last-child{display:none}#stage.heibor-interactive-hero .hint{display:none}#stage.heibor-interactive-hero .mobile-hint{position:absolute;z-index:9;right:7%;bottom:58px;display:block;color:#746d5e;font:500 8px/1 'Lexend',sans-serif;letter-spacing:.15em}}
@media(max-width:480px){#stage.heibor-interactive-hero .copy{bottom:11%;padding:0}#stage.heibor-interactive-hero .copy .eyebrow{font-size:11px;letter-spacing:.18em}#stage.heibor-interactive-hero .copy h1{font-size:32px}#stage.heibor-interactive-hero .quote-line,#stage.heibor-interactive-hero .quote-emphasis{font-size:24px}#stage.heibor-interactive-hero .sketch-tag{right:7%;bottom:8%}}
@media(prefers-reduced-motion:reduce){#stage.heibor-interactive-hero .copy-primary .eyebrow,#stage.heibor-interactive-hero .copy-primary .title-mask>span,#stage.heibor-interactive-hero .copy-secondary .sub,#stage.heibor-interactive-hero.is-interacting .copy-primary .eyebrow,#stage.heibor-interactive-hero.is-interacting .copy-primary .title-mask>span,#stage.heibor-interactive-hero.is-interacting .copy-secondary .sub,#stage.heibor-interactive-hero.has-interacted:not(.is-interacting) .copy-secondary .sub{animation:none;opacity:1;transform:none;filter:none}}

/* Keep both visual states in one shared full-bleed viewport. */
#stage.heibor-interactive-hero .art,#stage.heibor-interactive-hero .sketch-wrap,#stage.heibor-interactive-hero .metal-reveal,#stage.heibor-interactive-hero .metal-art{inset:0!important;width:100%!important;height:100%!important}
#stage.heibor-interactive-hero #metalArt svg{display:none!important}
/* Place the rotating copy at the vertical center of the left side. */
#stage.heibor-interactive-hero .copy{left:7%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:min(48%,820px)!important;max-width:820px!important}
#stage.heibor-interactive-hero .quote-emphasis{color:#FCD21D!important;-webkit-text-fill-color:#FCD21D!important}
#stage.heibor-interactive-hero .quote-line{font-size:clamp(22px,2.2vw,32px)!important;line-height:1.2!important}
#stage.heibor-interactive-hero .quote-emphasis{font-size:inherit!important;line-height:inherit!important}
#stage.heibor-interactive-hero .quote-line.quote-emphasis{font-size:clamp(22px,2.2vw,32px)!important;line-height:1.2!important}
@media(max-width:768px){#stage.heibor-interactive-hero .copy{left:7%!important;top:50%!important;bottom:auto!important;width:86%!important;transform:translateY(-50%)!important}}
@media(max-width:768px){#stage.heibor-interactive-hero .quote-line{font-size:clamp(18px,5vw,22px)!important;line-height:1.24!important}}
@media(max-width:768px){#stage.heibor-interactive-hero .quote-line.quote-emphasis{font-size:clamp(18px,5vw,22px)!important;line-height:1.24!important}}
