/* DOS / Neural Hero 3D — isolated preview theme v0.3 */
.hv3-scene-hero .hero.dn3-enabled{position:relative;isolation:isolate}
.hv3-scene-hero .hero.dn3-enabled>.hero-title,.hv3-scene-hero .hero.dn3-enabled>.hero-bottom{z-index:6}
.hv3-scene-hero .hero.dn3-enabled>.hero-do-object{z-index:7}
.hv3-scene-hero .hero.dn3-enabled>.eyebrow,.hv3-scene-hero .hero.dn3-enabled>.hero-edition,.hv3-scene-hero .hero.dn3-enabled>.hero-index,.hv3-scene-hero .hero.dn3-enabled>.hero-kicker{z-index:6}
.dn3-cosmos{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;contain:layout paint}
.dn3-cosmos::before{content:"";position:absolute;inset:2% 0 0 26%;background:radial-gradient(ellipse at 56% 53%,rgba(255,59,24,.095),rgba(255,59,24,.035) 28%,transparent 66%);pointer-events:none}
.dn3-cosmos canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:auto;cursor:grab;touch-action:pan-y;outline-offset:-4px}
.dn3-cosmos canvas:active{cursor:grabbing}
.dn3-label{position:absolute;top:0;left:0;transform:translate(-50%,-50%);max-width:125px;padding:4px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(241,239,232,.22);border:1px solid rgba(17,17,17,.07);color:#2f3030;font:600 8px/1.2 ui-monospace,Consolas,monospace;letter-spacing:.03em;opacity:.35;cursor:pointer;pointer-events:auto;transition:opacity .2s ease,background .2s ease,border .2s;backdrop-filter:blur(2px)}
.dn3-label::before{content:"+";color:#ff3b18;font-size:9px;margin-right:5px}
.dn3-label:hover,.dn3-label:focus-visible,.dn3-label[aria-pressed="true"]{opacity:.96;background:#f1efe8;border-color:#ff3b18}
.dn3-label[data-behind="1"]{opacity:.17}
.dn3-controls{position:absolute;right:clamp(17px,3vw,45px);bottom:clamp(75px,10vw,118px);z-index:5;display:flex;align-items:center;gap:4px;pointer-events:auto;background:rgba(241,239,232,.72);padding:5px;border:1px solid rgba(17,17,17,.11);backdrop-filter:blur(8px)}
.dn3-controls button{cursor:pointer;border:0;background:transparent;color:#111;font:700 9px/1 ui-monospace,monospace;letter-spacing:.07em;min-height:35px;min-width:33px;padding:0 7px}
.dn3-controls button:hover,.dn3-controls button:focus-visible{background:#111;color:#f1efe8}
.dn3-coord{position:absolute;right:clamp(20px,3.5vw,52px);bottom:clamp(117px,13vw,160px);color:rgba(17,17,17,.42);font:700 8px/1.4 ui-monospace,monospace;letter-spacing:.1em}
.dn3-card{position:absolute;right:clamp(20px,4vw,70px);top:30%;z-index:8;pointer-events:auto;width:min(255px,35vw);background:rgba(241,239,232,.96);border:1px solid rgba(17,17,17,.21);box-shadow:0 20px 45px #1112;padding:16px 17px 18px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s}
.dn3-card.is-open{opacity:1;visibility:visible;transform:none}
.dn3-card small{display:block;color:#ff3b18;font:700 9px ui-monospace,monospace;letter-spacing:.1em;margin-bottom:12px}
.dn3-card strong{display:block;color:#111;font:850 22px/1.07 Inter,system-ui,sans-serif;letter-spacing:-.045em;margin:0 0 10px}
.dn3-card a{display:inline-block;border-bottom:1px solid #ff3b18;padding-bottom:6px;font:750 10px ui-monospace,monospace;text-decoration:none}
.dn3-card .dn3-close{position:absolute;right:5px;top:5px;width:30px;height:30px;background:transparent;border:0;cursor:pointer;font-size:20px}
.dn3-hint{position:absolute;left:clamp(16px,3vw,40px);bottom:12px;color:rgba(17,17,17,.36);font:700 8px ui-monospace,monospace;letter-spacing:.11em}
.dn3-list{position:absolute;z-index:9;right:clamp(17px,3vw,45px);bottom:clamp(125px,15vw,175px);width:min(230px,65vw);max-height:40vh;overflow:auto;background:rgba(241,239,232,.96);border:1px solid #1113;box-shadow:0 15px 36px #1112;pointer-events:auto;padding:6px}
.dn3-list[hidden]{display:none}
.dn3-list button{display:block;background:transparent;color:#111;border:0;border-bottom:1px solid #1112;text-align:left;font:700 10px ui-monospace,monospace;width:100%;padding:11px 8px;cursor:pointer}
.dn3-list button:hover,.dn3-list button:focus-visible{background:#ff3b181c}
.hv3-scene-hero .hero.dn3-enabled>.hero-do-object{filter:drop-shadow(0 10px 28px rgba(255,59,24,.14))}
/* The four-line creative-signal popover is removed entirely in this preview. */
.hv3-scene-hero .do-creative-phrase{display:none!important;pointer-events:none!important}
@media(max-width:800px){
 .dn3-cosmos::before{inset:7% 0}
 .dn3-label{font-size:7px;opacity:.27;max-width:92px;padding:3px 4px}
 .dn3-label[data-behind="1"]{opacity:.1}
 .dn3-card{top:auto;bottom:135px;right:12px;width:min(260px,65vw);padding:12px}
 .dn3-card strong{font-size:17px}
 .dn3-controls{bottom:65px;right:12px}
 .dn3-coord{bottom:111px;right:12px;font-size:7px}
 .dn3-hint{display:none}
}
@media(max-width:540px){
 .dn3-label:not([aria-pressed="true"]){opacity:0;pointer-events:none}
 .dn3-controls{bottom:clamp(95px,19vw,122px);padding:2px;gap:1px}
 .dn3-controls button{font-size:8px;min-height:30px;min-width:28px;padding:0 5px}
 .dn3-card{bottom:158px;right:7px;width:min(225px,65vw)}
 .dn3-coord{display:none}
}
@media(prefers-reduced-motion:reduce){.dn3-cosmos *{animation:none!important;transition:none!important}}

/* Mobile hotfix v0.5 — The DO is a grid item, never an absolute overlay on content. */
@media (max-width:900px), (max-width:1150px) and (orientation:portrait){
 .hv3-scene-hero .hero.dn3-enabled{
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:repeat(6,auto)!important;
   align-content:start!important;
   align-items:start!important;
   row-gap:clamp(.6rem,2.7vw,1.15rem)!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.eyebrow{
   grid-column:1!important;grid-row:1!important;
   align-self:start!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.hero-edition{
   grid-column:1!important;grid-row:2!important;
   justify-self:start!important;align-self:start!important;
   margin:0!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.hero-do-object{
   position:relative!important;
   grid-column:1!important;grid-row:3!important;
   justify-self:start!important;align-self:start!important;
   left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
   margin:0!important;transform:none!important;
   width:96px!important;height:90px!important;flex:none!important;
   z-index:8!important;pointer-events:auto!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.hero-title{
   grid-column:1!important;grid-row:4!important;
   margin:0!important;align-self:start!important;
   position:relative!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.hero-bottom{
   grid-column:1!important;grid-row:5!important;
   margin:0!important;align-self:start!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.hero-kicker{
   grid-column:1!important;grid-row:6!important;align-self:start!important;
 }
 .hv3-scene-hero .hero.dn3-enabled>.hero-index{display:none!important}
 /* The neural drawing now extends under the entire Hero; only text stays above. */
 .hv3-scene-hero .hero.dn3-enabled>.dn3-cosmos canvas{
   clip-path:none!important;
   -webkit-mask-image:linear-gradient(to right,rgba(0,0,0,.24),rgba(0,0,0,.78) 42%,#000 100%);
   mask-image:linear-gradient(to right,rgba(0,0,0,.24),rgba(0,0,0,.78) 42%,#000 100%);
 }
 .hv3-scene-hero .hero.dn3-enabled>.dn3-cosmos::before{
   inset:0!important;
   background:radial-gradient(ellipse at 54% 56%,rgba(255,59,24,.105),rgba(255,59,24,.035) 46%,transparent 83%)!important;
 }
}
@media (max-width:540px){
 .hv3-scene-hero .hero.dn3-enabled>.hero-do-object{width:77px!important;height:72px!important}
 .hv3-scene-hero .hero.dn3-enabled>.hero-title{margin:0!important}
}


/* 0.4 / EDITORIAL DO: compact, top-left, outside the neural interaction zone. */
.hv3-scene-hero .hero.dn3-enabled>.hero-do-object{
  left:clamp(16px,2.3vw,45px)!important;
  right:auto!important;
  top:var(--dn3-logo-top,112px)!important;
  bottom:auto!important;
  width:clamp(98px,7.3vw,135px)!important;
  height:clamp(85px,6.25vw,112px)!important;
  max-width:none!important;
  min-height:0!important;
  z-index:9!important;
  transform:none!important;
  pointer-events:auto!important;
  touch-action:none;
  filter:drop-shadow(0 8px 19px rgba(17,17,17,.08))!important;
}
.hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-d{
  font-size:clamp(78px,5.7vw,109px)!important;
  left:2%!important;top:12%!important;
}
.hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-o{
  font-size:clamp(75px,5.5vw,105px)!important;
  left:36%!important;top:18%!important;
}
.hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-node{
  width:5px!important;height:5px!important;
  box-shadow:0 0 0 3px rgba(17,17,17,.05)!important;
}
.hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-gesture-hint,
.hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-caption{display:none!important}
.hv3-scene-hero .hero.dn3-enabled>.hero-title{pointer-events:none}
.hv3-scene-hero .hero.dn3-enabled>.hero-title .switch-word{pointer-events:auto}
.hv3-scene-hero .hero.dn3-enabled>.hero-bottom{pointer-events:none}
.hv3-scene-hero .hero.dn3-enabled>.hero-bottom a{pointer-events:auto}
.hv3-scene-hero .hero.dn3-enabled>.eyebrow,
.hv3-scene-hero .hero.dn3-enabled>.hero-edition,
.hv3-scene-hero .hero.dn3-enabled>.hero-index,
.hv3-scene-hero .hero.dn3-enabled>.hero-kicker{pointer-events:none}
.hv3-scene-hero .hero.dn3-enabled>.dn3-cosmos canvas{
  clip-path:polygon(39% 0,100% 0,100% 100%,33% 100%);
}
@media (max-width:900px){
  .hv3-scene-hero .hero.dn3-enabled>.hero-title{
    margin-top:clamp(64px,10vh,98px)!important;
  }
  .hv3-scene-hero .hero.dn3-enabled>.hero-do-object{
    left:clamp(14px,2vw,25px)!important;
    width:100px!important;height:90px!important;
  }
  .hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-d{font-size:82px!important}
  .hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-o{font-size:79px!important}
}
@media (max-width:540px){
  .hv3-scene-hero .hero.dn3-enabled>.hero-title{
    margin-top:68px!important;
  }
  .hv3-scene-hero .hero.dn3-enabled>.hero-do-object{
    left:16px!important;width:77px!important;height:70px!important;
  }
  .hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-d{font-size:64px!important}
  .hv3-scene-hero .hero.dn3-enabled .hero-do-object .do-o{font-size:61px!important}
  .hv3-scene-hero .hero.dn3-enabled>.dn3-cosmos canvas{
    clip-path:polygon(27% 0,100% 0,100% 100%,21% 100%);
  }
}

