/* Page-local staging styles. Token values mirror VOOVEO globals; never redefine Divi variables. */
html.vpe-lock {overflow:hidden;}
.vpe-dialog {--vpe-black:#121116;--vpe-charcoal:#302930;--vpe-white:#FFFCF9;--vpe-purple:#8300E9;--vpe-gray:#625D60;--vpe-accent:#c895ff; color:var(--vpe-white);background:var(--vpe-black);border:1px solid #9461b9;border-radius:18px;width:min(1120px,94vw);max-width:94vw;max-height:90vh;max-height:90dvh;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 100px #000b;font-family:Urbanist,system-ui,sans-serif;line-height:1.55;text-align:left;box-sizing:border-box;}
.vpe-dialog *, .vpe-dialog *::before,.vpe-dialog *::after {box-sizing:border-box;}
.vpe-dialog:not([open]) {display:none;}
.vpe-dialog[open] {display:flex;flex-direction:column;}
.vpe-dialog::backdrop {background:#08070be0;backdrop-filter:blur(5px);}
.vpe-dialog h2,.vpe-dialog h3 {font-family:Manrope,system-ui,sans-serif;color:var(--vpe-white);padding:0;margin:0;font-weight:700;line-height:1.18;}
.vpe-dialog p {color:inherit;padding:0;margin:0;}
.vpe-dialog [hidden] {display:none!important;}
.vpe-bar,.vpe-nav {display:flex;align-items:center;gap:12px;padding:12px clamp(16px,4vw,36px);background:var(--vpe-black);flex-shrink:0;}
.vpe-bar {border-bottom:1px solid #ffffff20;}
.vpe-brand {font-family:Manrope,system-ui,sans-serif;font-size:21px;font-weight:800;letter-spacing:.08em;}
.vpe-pilot {font-size:12px;color:#d8cdc4;flex:1;}
.vpe-dialog button,.vpe-dialog a {font:inherit;font-weight:650;line-height:1.25;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:999px;cursor:pointer;text-decoration:none;white-space:normal;}
.vpe-dialog button:focus-visible,.vpe-dialog a:focus-visible,.vpe-dialog [tabindex]:focus-visible {outline:3px solid var(--vpe-accent);outline-offset:3px;}
.vpe-dialog .vpe-close,.vpe-dialog .vpe-secondary {color:var(--vpe-white);background:transparent;border-color:#a69ba7;}
.vpe-dialog .vpe-primary {background:var(--vpe-white);color:var(--vpe-black);border-color:var(--vpe-white);}
.vpe-dialog .vpe-primary:hover {background:#e8d6ff;}
.vpe-dialog .vpe-secondary:hover,.vpe-dialog .vpe-close:hover {background:var(--vpe-charcoal);}
.vpe-dialog button:disabled {opacity:.40;cursor:default;}
.vpe-content {overflow:auto;overscroll-behavior:contain;min-height:0;padding:clamp(18px,4vw,36px);}
.vpe-dialog .vpe-title {font-size:clamp(26px,4vw,46px);margin-bottom:10px;overflow-wrap:anywhere;}
.vpe-status:not(:empty) {margin:12px 0;color:#d8cdc4;}
.vpe-body {display:grid;gap:22px;}
.vpe-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:20px;background:linear-gradient(115deg,#121116 10%,#23152c 62%,#302930);border-radius:12px;overflow:hidden;}
.vpe-intro {padding:20px;display:grid;gap:12px;align-content:start;}
.vpe-subtitle {font-size:clamp(17px,2vw,23px);font-weight:650;}
.vpe-summary,.vpe-copy {white-space:pre-wrap;overflow-wrap:anywhere;}
.vpe-hero-frame {position:relative;min-width:0;height:100%;min-height:220px;}
.vpe-hero-frame:after {content:'';position:absolute;inset:0;background:linear-gradient(90deg,#23152c 0%,transparent 35%);pointer-events:none;}
.vpe-dialog .vpe-image {width:100%;height:100%;min-height:220px;max-height:360px;object-fit:cover;display:block;}
.vpe-chip {display:inline-block;width:fit-content;color:#fff;background:#49255f;border:1px solid #9263af;border-radius:999px;padding:5px 11px;font-size:13px;}
.vpe-chips,.vpe-actions {display:flex;gap:8px;flex-wrap:wrap;}
.vpe-extent,.vpe-disclaimer,.vpe-notice {font-size:14px;color:#d8cdc4;}
.vpe-media:empty {display:none;}
.vpe-player {display:block;width:100%;max-height:60vh;background:#000;border-radius:8px;}
.vpe-tabs {display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid #ffffff35;padding:4px 4px 8px;}
.vpe-dialog .vpe-tab {background:transparent;color:var(--vpe-white);border-radius:6px;flex-shrink:0;border-bottom:3px solid transparent;}
.vpe-dialog .vpe-tab[aria-selected="true"] {border-bottom-color:var(--vpe-accent);color:var(--vpe-accent);}
.vpe-panel,.vpe-glance,.vpe-access {background:var(--vpe-charcoal);border-radius:10px;padding:20px;display:grid;gap:12px;}
.vpe-panel {margin-top:12px;}
.vpe-dialog .vpe-h3 {font-size:18px;}
.vpe-meta {display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:10px 18px;margin:0;}
.vpe-meta dt {font-weight:700;color:#d8cdc4;}.vpe-meta dd {margin:0;overflow-wrap:anywhere;}
.vpe-nav {justify-content:space-between;border-top:1px solid #ffffff20;}
@media(max-width:640px){.vpe-dialog{max-width:96vw;width:96vw;max-height:94dvh;border-radius:12px;}.vpe-hero{grid-template-columns:1fr;}.vpe-hero-frame{min-height:0;order:-1;}.vpe-dialog .vpe-image{height:auto;min-height:0;aspect-ratio:16/9;}.vpe-hero-frame:after{background:linear-gradient(0deg,#23152c,transparent 25%);}.vpe-meta{grid-template-columns:1fr;gap:4px;}.vpe-meta dd{margin-bottom:8px;}.vpe-pilot{font-size:11px;}.vpe-nav{gap:8px;}.vpe-dialog .vpe-secondary{font-size:14px;}}
@media(prefers-reduced-motion:reduce){.vpe-dialog,.vpe-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}

/* v0.2.0: larger cinematic details and an expanded experience screen. */
.vpe-dialog{width:min(1560px,90vw);max-width:90vw;max-height:94vh;max-height:94dvh;font-size:16px;line-height:1.55;}
.vpe-dialog .vpe-title{font-size:clamp(28px,3vw,46px);margin-bottom:18px;}
.vpe-dialog .vpe-subtitle{font-size:clamp(19px,2vw,25px);}
.vpe-dialog .vpe-summary,.vpe-dialog .vpe-copy,.vpe-dialog .vpe-meta{font-size:16px;line-height:1.6;}
.vpe-dialog .vpe-h3{font-size:20px;}
.vpe-hero{grid-template-columns:minmax(0,42fr) minmax(0,58fr);}
.vpe-dialog .vpe-image{max-height:440px;}
.vpe-content{scrollbar-width:thin;scrollbar-color:#625D60 #121116;}
.vpe-dialog.vpe-experiencing{width:min(1680px,96vw);max-width:96vw;height:94vh;height:94dvh;}
.vpe-viewer-screen{display:flex;flex-direction:column;min-height:0;flex:1;gap:10px;padding:clamp(10px,2vw,24px);overflow:hidden;}
.vpe-viewer-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex-shrink:0;}
.vpe-dialog .vpe-viewer-title{font-size:clamp(18px,2.2vw,28px);overflow-wrap:anywhere;}
.vpe-viewer-status{font-size:14px;color:#D8CDC4!important;flex-shrink:0;}
.vpe-viewer-status:empty{display:none;}
.vpe-viewer-stage{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;background:#09080b;border-radius:10px;overflow:hidden;}
.vpe-frame{border:0;width:100%;height:100%;display:block;background:#fff;}
.vpe-viewer-stage .vpe-player{width:100%;height:100%;max-height:100%;object-fit:contain;}
.vpe-viewer-stage audio.vpe-player{height:auto;max-width:900px;}
@media(max-width:640px){.vpe-dialog,.vpe-dialog.vpe-experiencing{width:96vw;max-width:96vw;max-height:94dvh;}.vpe-hero{grid-template-columns:1fr;}.vpe-viewer-bar{gap:8px;}.vpe-dialog .vpe-viewer-title{font-size:18px;}.vpe-viewer-bar button{font-size:13px;}.vpe-dialog .vpe-summary,.vpe-dialog .vpe-copy,.vpe-dialog .vpe-meta{font-size:15px;}}

/* v0.2.1: seamless project-image blend. Use the same solid tint under both
   columns and at the edge of the image overlay; no abrupt split or gap. */
.vpe-dialog .vpe-hero {
  --vpe-hero-tint: #1b1423;
  gap: 0;
  background: var(--vpe-hero-tint);
}
.vpe-dialog .vpe-hero-frame::after {
  background: linear-gradient(90deg, var(--vpe-hero-tint) 0%, rgba(27,20,35,.96) 7%, rgba(27,20,35,.78) 17%, rgba(27,20,35,.48) 29%, rgba(27,20,35,.17) 42%, rgba(27,20,35,0) 55%);
}
@media (max-width:640px) {
  .vpe-dialog .vpe-hero-frame::after {
    background: linear-gradient(0deg, var(--vpe-hero-tint) 0%, rgba(27,20,35,.9) 7%, rgba(27,20,35,.5) 18%, rgba(27,20,35,0) 34%);
  }
}

/* v0.2.3 staging-only: preserve existing hero caption styling; title is now a focusable project-details link. */
.vooveo-nervyne-spotlight .nw-caption .vpe-hero-project-link,
.vooveo-nervyne-spotlight .nw-caption .vpe-hero-project-link:is(:link,:visited,:hover,:active,:focus) {
  color: #FFFCF9 !important;
  font: inherit;
  text-decoration: none;
  background: transparent;
}
.vooveo-nervyne-spotlight .nw-caption .vpe-hero-project-link:hover {text-decoration: underline; text-underline-offset: .16em;}
.vooveo-nervyne-spotlight .nw-caption .vpe-hero-project-link:focus-visible {outline: 2px solid #FFFCF9;outline-offset: 3px;border-radius: 2px;}

/* v0.2.4: columns are based on populated ACF fields, not static empty slots.
   The shared Project at a glance remains outside the tab panels. */
.vpe-dialog .vpe-panel-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.5vw,30px);align-items:start;}
.vpe-dialog .vpe-panel-grid > :only-child {grid-column:1 / -1;}
.vpe-dialog .vpe-panel-cell {min-width:0;display:grid;align-content:start;gap:10px;overflow-wrap:anywhere;}
.vpe-dialog .vpe-panel-cell:nth-child(even) {border-left:1px solid #ffffff30;padding-left:clamp(16px,2vw,26px);}
.vpe-dialog .vpe-access-resources {justify-items:start;}
.vpe-dialog .vpe-access-resources .vpe-secondary {max-width:100%;white-space:normal;text-align:left;}
@media(max-width:700px) {
  .vpe-dialog .vpe-panel-grid {grid-template-columns:minmax(0,1fr);gap:18px;}
  .vpe-dialog .vpe-panel-cell:nth-child(even) {border-left:0;border-top:1px solid #ffffff30;padding-left:0;padding-top:16px;}
}
/* Reuse the working hero caption. Only its action changes; do not touch
   the hero gradient, device art, site globals or existing Divi edit state. */
.vooveo-nervyne-spotlight .nw-caption a.vpe-hero-project-link,
.vooveo-nervyne-spotlight .nw-caption a.vpe-hero-project-link:is(:link,:visited,:hover,:focus,:active) {
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
  font:600 12px/1.4 Urbanist,sans-serif;color:#FFFCF9!important;
  text-decoration:none;background:transparent;
}
.vooveo-nervyne-spotlight .nw-caption a.vpe-hero-project-link:hover {text-decoration:underline;text-underline-offset:.22em;}
.vooveo-nervyne-spotlight .nw-caption a.vpe-hero-project-link:focus-visible {outline:2px solid #FFFCF9;outline-offset:3px;border-radius:2px;}
.vooveo-nervyne-spotlight .nw-caption .vpe-hero-project-arrow {font-size:1.1em;line-height:1;}
