/* A brief, branded passage between the group and its businesses. */
body{--world-ease:cubic-bezier(.19,1,.22,1)}
.hero.entering-world .hero-scene{transition:transform 850ms cubic-bezier(.4,0,.15,1)!important;filter:none;transform:translate3d(-5%,8%,0) scale(1.42)!important;will-change:transform}
.hero[data-entering=valtren] .hero-scene{transform-origin:62% 18%}
.hero[data-entering=dreymont] .hero-scene{transform-origin:52% 72%;transform:translate3d(-2%,-10%,0) scale(1.34)!important;transition-duration:950ms!important}
.hero.entering-world .hero-content,.hero.entering-world .hero-bottom{opacity:0;filter:none;transform:translate3d(0,-14px,0);transition:opacity 220ms ease,transform 500ms var(--world-ease)!important}
.hero.entering-world .island-label,.hero.entering-world .brand-connectors{opacity:0;transition:opacity 150ms ease}
.leaving-world .header,.leaving-world .collection-header{opacity:0;transition:opacity 200ms ease}
.world-transit{position:fixed;inset:0;z-index:1000;overflow:hidden;pointer-events:none;isolation:isolate;--transit-accent:#72dafa}
.world-transit::before{content:'';position:absolute;inset:0;background:#07101b;animation:world-veil 650ms cubic-bezier(.4,0,.2,1) both}
.world-transit-glow{position:absolute;inset:-30%;background:radial-gradient(ellipse at 60% 50%,#3da5ce21,transparent 48%);opacity:0;animation:world-glow 700ms ease both}
.world-transit-rule{position:absolute;left:0;right:0;top:50%;height:1px;background:linear-gradient(90deg,transparent 10%,var(--transit-accent) 50%,transparent 90%);opacity:0;transform:scaleX(.25);animation:world-rule 650ms var(--world-ease) 60ms both}
.world-transit-signature{position:absolute;left:50%;top:50%;width:min(72vw,460px);transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:24px;text-align:center}
.world-transit-eyebrow,.world-transit-caption{font:400 10px/1.7 Arial,sans-serif;letter-spacing:.22em;color:#a9c4d8;animation:world-caption 480ms ease 120ms both}
.world-transit-mark{display:block;width:100%;height:105px;object-fit:contain;animation:world-signature 600ms var(--world-ease) 70ms both}
.world-transit-caption{max-width:380px;font-size:9px;color:#c1d9e9;animation-delay:210ms}
.world-transit[data-world=dreymont]{--transit-accent:#bdccd6}
.world-transit[data-world=dreymont] .world-transit-signature{width:min(76vw,430px);gap:20px}
.world-transit[data-world=dreymont] .world-transit-mark{height:136px;animation-duration:690ms}
.world-transit[data-world=dreymont] .world-transit-rule{animation-duration:760ms;opacity:.55}
.world-transit[data-world=dreymont] .world-transit-glow{background:radial-gradient(ellipse at 50% 65%,#b2c4d816,transparent 48%)}
@keyframes world-veil{0%{opacity:0}30%{opacity:.12}100%{opacity:1}}
@keyframes world-glow{from{opacity:0;transform:translate3d(8%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes world-rule{0%{opacity:0;transform:scaleX(.15) translateY(68px)}45%{opacity:.5}100%{opacity:.16;transform:scaleX(1) translateY(68px)}}
@keyframes world-signature{from{opacity:0;clip-path:inset(0 100% 0 0);transform:translate3d(0,12px,0)}to{opacity:1;clip-path:inset(0);transform:translate3d(0,0,0)}}
@keyframes world-caption{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
/* The destination resolves in layers; all content is available without JS. */
.business-hero-grid>div:first-child>.business-wordmark{animation:world-arrive 800ms var(--world-ease) 20ms backwards}
.business-hero-grid>div:first-child>.eyebrow{animation:world-arrive 750ms var(--world-ease) 80ms backwards}
.business-hero-grid h1{animation:world-arrive 850ms var(--world-ease) 130ms backwards}
.business-hero-grid .business-description{animation:world-arrive 850ms var(--world-ease) 200ms backwards}
.business-hero-grid .page-primary{animation:world-arrive 850ms var(--world-ease) 260ms backwards}
.business-world-art,.market-world{animation:world-art-arrive 1100ms var(--world-ease) 60ms backwards}
.page-valtren .business-world-art img{animation:world-camera-settle 1400ms var(--world-ease) both}
.page-dreymont .market-line{stroke-dasharray:900;stroke-dashoffset:0;animation:world-chart-arrive 1400ms cubic-bezier(.22,.61,.36,1) 150ms backwards}
.page-dreymont .business-hero-grid h1{animation-duration:1050ms}
@keyframes world-arrive{from{opacity:0;transform:translate3d(0,20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes world-art-arrive{from{opacity:0;transform:translate3d(26px,12px,0) scale(.97)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes world-camera-settle{from{transform:scale(1.08)}to{transform:scale(1)}}
@keyframes world-chart-arrive{from{stroke-dashoffset:900}to{stroke-dashoffset:0}}
.world-restored .business-hero *{animation:none!important}
@media(max-width:600px){
 .hero.entering-world .hero-scene{transform:translate3d(-2%,3%,0) scale(1.2)!important}
 .hero[data-entering=dreymont] .hero-scene{transform:translate3d(0,-4%,0) scale(1.18)!important}
 .world-transit-signature{gap:20px;width:min(76vw,360px)}
 .world-transit-mark{height:80px}.world-transit-caption{font-size:8px;letter-spacing:.15em}
 .world-transit[data-world=dreymont] .world-transit-mark{height:110px}
 .business-world-art,.market-world{animation-duration:850ms}
}
@media(prefers-reduced-motion:reduce){
 .world-transit{display:none}
 .hero.entering-world .hero-scene{transform:none!important;transition:none!important}
 .business-hero *,.business-world-art,.market-world{animation:none!important;transition:none!important}
}

/* Reverse the journey: the business recedes and the two-island world returns. */
.returning-world .business-hero-grid,.returning-world .product-page-hero{transform-origin:50% 45%;animation:business-recede 700ms cubic-bezier(.4,0,.2,1) both}
.world-return{position:fixed;inset:0;z-index:1000;overflow:hidden;pointer-events:none;isolation:isolate;background:#050b13;animation:return-veil 260ms ease both}
.world-return-scene{position:absolute;inset:-3%;background:url('/assets/blora-two-businesses.webp') center/cover no-repeat;transform-origin:62% 18%;animation:ecosystem-pullback 740ms cubic-bezier(.16,.8,.24,1) both}
.world-return[data-origin=dreymont] .world-return-scene{transform-origin:52% 72%}
.world-return-shade{position:absolute;inset:0;background:linear-gradient(90deg,#030810e8,transparent 78%),linear-gradient(0deg,#030810,transparent 45%)}
.world-return-signature{position:absolute;left:8%;top:44%;width:75%;animation:return-signature 660ms var(--world-ease) 100ms both}
.world-return-signature .wordmark{font-size:clamp(44px,7vw,100px);line-height:1;letter-spacing:.08em}
.world-return-signature .wordmark small{font:400 clamp(9px,1vw,13px)/2 Arial,sans-serif;letter-spacing:.45em;display:block;margin-top:13px}
.world-return-signature p{font:400 clamp(12px,1.1vw,16px)/1.7 Arial,sans-serif;color:#bdd2e4;margin-top:30px}
html[data-returning] .hero-scene{animation:home-camera-settle 1000ms var(--world-ease) both;transform-origin:62% 18%}
html[data-returning=dreymont] .hero-scene{transform-origin:52% 72%}
html[data-returning] .hero-content{animation:world-arrive 900ms var(--world-ease) 100ms backwards}
html[data-returning] .hero-bottom{animation:world-arrive 700ms ease 180ms backwards}
@keyframes business-recede{to{opacity:.2;transform:translate3d(0,16px,0) scale(.94)}}
@keyframes return-veil{from{opacity:0}to{opacity:1}}
@keyframes ecosystem-pullback{from{transform:scale(1.7);opacity:.45}to{transform:scale(1);opacity:1}}
@keyframes return-signature{from{opacity:0;transform:translate3d(-12px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes home-camera-settle{from{scale:1.12}to{scale:1}}

/* Original product marks move into the destination, never substituted with artwork. */
.product-transit{--transit-accent:#c4d4b4}
.product-transit[data-world=leadleak]{--transit-accent:#b99cf6}
.product-transit[data-world=logwell]{--transit-accent:#efc890}
.product-transit .world-transit-signature{width:min(80vw,420px);gap:22px}
.product-transit .world-transit-mark{width:96px;height:96px;clip-path:none;animation:product-lift 520ms var(--world-ease) both}
.product-transit .world-transit-eyebrow{font-size:11px}
.product-transit .world-transit-rule{animation-duration:560ms}
.product-transit .world-transit-glow{background:radial-gradient(ellipse at center,#8099b51c,transparent 45%)}
.product-transit[data-world=leadleak] .world-transit-glow{background:radial-gradient(ellipse at center,#9372cf22,transparent 45%)}
.product-transit[data-world=logwell] .world-transit-glow{background:radial-gradient(ellipse at center,#d7a75b19,transparent 45%)}
.product-from-source .world-transit-mark{animation-name:product-carry}
@keyframes product-lift{from{opacity:0;transform:translateY(18px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes product-carry{0%{opacity:0;transform:translate(var(--from-x),var(--from-y)) scale(var(--from-scale))}15%{opacity:1}100%{opacity:1;transform:translate(0,0) scale(1)}}
.product-logo-flight{pointer-events:none;z-index:1100;object-fit:contain;transform-origin:center;animation:product-dock 720ms cubic-bezier(.22,.8,.22,1) both}
.handover-target{opacity:0!important}
.product-handover-active .product-page-intro,.product-explorer.product-handover-active .explorer-story,.product-explorer.product-handover-active .explorer-workspace{animation:workspace-resolve 650ms var(--world-ease) 100ms backwards}
.product-explorer.product-handover-active{animation:none!important}
@keyframes product-dock{0%{opacity:1;transform:translate(var(--flight-x),var(--flight-y)) scale(var(--flight-scale))}100%{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes workspace-resolve{from{opacity:.15;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.world-restored .hero-scene,.world-restored .hero-content,.world-restored .hero-bottom{animation:none!important}
@media(max-width:600px){.world-return-scene{background-size:auto 100%;background-position:60% center}.world-return-signature{top:30%;left:7%}.world-return-shade{background:linear-gradient(180deg,#030810bd,transparent 85%)}.world-return-signature p{max-width:250px}}
@media(prefers-reduced-motion:reduce){
 .world-return,.product-logo-flight{display:none}
 .returning-world .business-hero-grid,.returning-world .product-page-hero,html[data-returning] .hero-scene,html[data-returning] .hero-content,html[data-returning] .hero-bottom,.product-handover-active .product-page-intro,.product-explorer.product-handover-active .explorer-story,.product-explorer.product-handover-active .explorer-workspace{animation:none!important}
 .handover-target,html[data-product-arrival] .product-page-hero .product-page-brand img{opacity:1!important}
}

/* A readable product signature, including tab changes inside the same page. */
.product-logo-flight.product-spotlight{animation:product-spotlight-dock 1050ms cubic-bezier(.22,.8,.22,1) both;filter:drop-shadow(0 12px 28px #0006)}
@keyframes product-spotlight-dock{
 0%{opacity:0;transform:translate(var(--flight-x),var(--flight-y)) scale(var(--flight-scale))}
 12%{opacity:1}
 32%,48%{opacity:1;transform:translate(var(--middle-x),var(--middle-y)) scale(var(--middle-scale))}
 100%{opacity:1;transform:translate(0,0) scale(1)}
}
body.product-handover-active #product-panel .product-preview{animation:workspace-resolve 700ms var(--world-ease) 150ms backwards}
@font-face{font-family:'Parallax Display';src:url('/assets/blora-display.ttf') format('truetype');font-style:normal;font-weight:300;font-display:swap}
.world-return .wordmark{font-family:'Parallax Display',sans-serif;font-weight:300;color:#e4eff9;display:inline-block}
.leaving-world .legal-header{opacity:0;transition:opacity 200ms ease}
@media(prefers-reduced-motion:reduce){body.product-handover-active #product-panel .product-preview{animation:none!important}}
