/* Scoped CEREBROZ styles. Loaded only on the CEREBROZ template. */
#cerebroz-experience {font-family:'Quicksand',sans-serif;overflow-x:clip;color:#F2EAD8;}
#cerebroz-experience .cerebroz-form-placeholder {flex:1 1 420px;min-width:0;color:#333;}
#cerebroz-experience{
    --gold: #C9A24A;
    --cream: #F2EAD8;
    --ink: #0A1411
}



#cerebroz-experience, #cerebroz-experience *{
    box-sizing: border-box
}



#cerebroz-experience{
    scroll-behavior: auto
}



#cerebroz-experience{
    margin: 0;
    background: #0A1411;
    color: #F2EAD8;
    font-family: "Quicksand", sans-serif;
    overflow-x: clip;
}



#cerebroz-experience a{
    color: #C9A24A
}



#cerebroz-experience a:hover{
    color: #E3C47A
}



#cerebroz-experience header{
    position: relative;
    z-index: 5
}



#cerebroz-experience .story-scroll{
    position: relative;
    height: 1100vh
}



#cerebroz-experience .story-pin{
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background: #0b1713
}



#cerebroz-experience .story-track{
    display: flex;
    height: 100%;
    width: 1100vw;
    will-change: transform
}



#cerebroz-experience .story-scene{
    position: relative;
    flex: 0 0 100vw;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse at 74% 45%, #079DD1 0%, #2555A1 45%, #303682 83%);
    border-right: 1px solid #26392f
}



#cerebroz-experience .story-scene.phase-saturation{
    background: radial-gradient(ellipse at 74% 45%, #079DD1 0%, #2555A1 45%, #303682 83%);
}



#cerebroz-experience .story-scene.phase-dip{
    background: radial-gradient(ellipse at 74% 45%, #079DD1 0%, #2555A1 45%, #303682 83%);
}



#cerebroz-experience .story-scene.phase-again{
    background: radial-gradient(ellipse at 74% 45%, #079DD1 0%, #2555A1 45%, #303682 83%);
}



#cerebroz-experience .scene-orb{
    position: absolute;
    right: 6%;
    top: 8%;
    width: 43vw;
    height: 43vw;
    max-width: 680px;
    max-height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, #b9954233 0%, #b9954210 40%, transparent 70%);
    filter: blur(10px);
    pointer-events: none
}



#cerebroz-experience .scene-inner{
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: calc(100% - 9vw);
    height: calc(100% - 125px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 4vw;
    align-items: center
}



#cerebroz-experience .story-copy{
    position: relative;
    z-index: 3;
    max-width: 720px
}



#cerebroz-experience .eyebrow{
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: .22em;
    font-size: clamp(10px, .95vw, 13px);
    font-weight: 700;
    color: #999;
    margin: 0 0 24px
}



#cerebroz-experience .eyebrow-line{
    height: 1px;
    width: 44px;
    background: #999;
    flex-shrink: 0
}



#cerebroz-experience .story-copy h2{
    font-family: "Shadows Into Light Two", sans-serif;
    font-size: clamp(34px, 4.05vw, 66px);
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -.022em;
    margin: 0 0 25px;
    color: #FFF;
}



#cerebroz-experience .story-copy h2 em{
    font-style: normal;
    color: #000;
}



#cerebroz-experience .scene-desc{
    font-size: clamp(17px, 1.42vw, 22px);
    line-height: 1.6;
    color: #999;
    max-width: 640px;
    margin: 0 0 25px
}



#cerebroz-experience .scene-micro{
    font-size: clamp(10px, .9vw, 13px);
    line-height: 1.7;
    letter-spacing: .18em;
    color: #FFF;
    margin: 0
}



#cerebroz-experience .scene-micro strong{
    color: #000;
    font-weight: 700
}



#cerebroz-experience .scene-fact{
    margin-top: 27px;
    max-width: 620px;
    border-left: 2px solid #C9A24A;
    padding: 5px 0 5px 19px;
    background: linear-gradient(90deg, #C9A24A0b, transparent)
}



#cerebroz-experience .fact-mark{
    font-size: 10px;
    letter-spacing: .2em;
    color: #D9BD80;
    font-weight: 700
}



#cerebroz-experience .scene-fact p{
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.55;
    color: #C7D0C9;
    margin: 8px 0 0
}



#cerebroz-experience .story-visual{
    height: min(58vh, 590px);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translate3d(var(--art-shift, 0px), var(--art-y, 0px), 0) rotate(var(--art-rotate, 0deg))
}



#cerebroz-experience .art-aura{
    position: absolute;
    width: min(34vw, 510px);
    aspect-ratio: 1;
    border: 1px solid #c9a24a3b;
    border-radius: 50%;
    box-shadow: 0 0 0 25px #c9a24a08, 0 0 0 65px #c9a24a06;
    background: radial-gradient(circle, #c9a24a1e, transparent 65%);
    transform: translate3d(var(--aura-shift, 0px), 0, 0);
    will-change: transform
}



#cerebroz-experience .art-grid{
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px solid #c9a24a14;
    border-radius: 26px;
    transform: translate3d(var(--grid-shift, 0px), 0, 0) rotate(8deg)
}



#cerebroz-experience .art-icon{
    width: 75%;
    height: 75%;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 20px 35px #0005);
    will-change: transform;
    transform: translate3d(var(--icon-shift, 0px), 0, 0) scale(var(--icon-scale, 1))
}



#cerebroz-experience .art-icon svg{
    width: min(85%, 370px);
    height: min(85%, 370px);
    overflow: visible
}



#cerebroz-experience .art-caption{
    position: absolute;
    bottom: 0%;
    right: 10%;
    color: #999;
    font-size: 11px;
    letter-spacing: .24em
}



#cerebroz-experience .art-caption span{
    font-size: 25px;
    margin-left: 10px
}



#cerebroz-experience .chapter-watermark{
    position: absolute;
    bottom: -7%;
    right: -1%;
    font: 700 min(24vw, 340px)/1 "Cinzel", serif;
    color: #ffffff06;
    pointer-events: none
}



#cerebroz-experience .scene-cta{
    display: inline-flex;
    margin-top: 26px;
    padding: 13px 24px;
    border-radius: 999px;
    background: #C9A24A;
    color: #0A1411;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .1em
}



#cerebroz-experience .story-ui{
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 116px;
    padding: 12px 4.5vw 20px;
    background: linear-gradient(0deg, #07100fe8, #07100f66 76%, transparent);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 25px;
    align-items: center
}



#cerebroz-experience .phase-label{
    font-family: "Cinzel", serif;
    color: #FFF;
    font-size: 15px
}



#cerebroz-experience .phase-label span{
    font-family: "Quicksand", sans-serif;
    color: #FFD014;
    font-size: 12px;
    margin-left: 12px
}



#cerebroz-experience .story-counter{
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    letter-spacing: .15em;
    color: #000
}



#cerebroz-experience .story-counter span{
    color: #000;
    font-size: 18px
}



#cerebroz-experience .story-rail{
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 5px
}



#cerebroz-experience .story-rail button{
    height: 15px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative
}



#cerebroz-experience .story-rail button::before{
    content: "";
    display: block;
    height: 3px;
    background: #42534b;
    border-radius: 4px;
    transition: background .25s, transform .25s
}



#cerebroz-experience .story-rail button.active::before{
    background: #FFD014;
    transform: scaleY(1.5)
}



#cerebroz-experience .story-rail button:hover::before{
    background: #e9d69b
}



#cerebroz-experience .scroll-hint{
    grid-column: 1/-1;
    text-align: right;
    font-size: 10px;
    letter-spacing: .2em;
    color: #b6c5bb
}



#cerebroz-experience .scroll-hint span{
    color: #D4B66E;
    font-size: 15px
}



#cerebroz-experience .story-scene:focus{
    outline: none
}



@media (max-width:760px){
    
#cerebroz-experience .story-scroll{
        height: 1100vh
    }


    
#cerebroz-experience .scene-inner{
        width: calc(100% - 44px);
        height: calc(100% - 123px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        align-items: stretch
    }


    
#cerebroz-experience .story-copy{
        flex: 0 0 auto;
        max-height: 57%;
        overflow-y: auto;
        scrollbar-width: thin
    }


    
#cerebroz-experience .eyebrow{
        font-size: 10px;
        margin: 0 0 10px;
        gap: 10px
    }


    
#cerebroz-experience .eyebrow-line{
        width: 23px
    }


    
#cerebroz-experience .story-copy h2{
        font-size: clamp(25px, 7.1vw, 40px);
        margin: 0 0 12px
    }


    
#cerebroz-experience .scene-desc{
        font-size: clamp(14px, 3.65vw, 17px);
        line-height: 1.45;
        margin: 0 0 10px
    }


    
#cerebroz-experience .scene-micro{
        font-size: 10px;
        letter-spacing: .09em
    }


    
#cerebroz-experience .scene-fact{
        margin-top: 10px;
        padding-left: 11px
    }


    
#cerebroz-experience .scene-fact p{
        font-size: 12px;
        line-height: 1.4;
        margin: 4px 0
    }


    
#cerebroz-experience .story-visual{
        flex: 1 1 30%;
        height: 27%;
        min-height: 120px
    }


    
#cerebroz-experience .art-aura{
        width: min(45vw, 210px)
    }


    
#cerebroz-experience .art-icon svg{
        width: min(46vw, 210px);
        height: min(46vw, 210px)
    }


    
#cerebroz-experience .art-caption{
        bottom: 0;
        right: 2%;
        font-size: 8px
    }


    
#cerebroz-experience .story-ui{
        padding: 10px 20px 12px;
        min-height: 110px
    }


    
#cerebroz-experience .phase-label{
        font-size: 12px
    }


    
#cerebroz-experience .phase-label span{
        display: block;
        margin: 2px 0 0;
        font-size: 10px
    }


    
#cerebroz-experience .story-rail{
        gap: 3px
    }


    
#cerebroz-experience .scroll-hint{
        font-size: 9px
    }


    
#cerebroz-experience .scene-cta{
        margin-top: 10px;
        padding: 9px 15px;
        font-size: 10px
    }

}



@media (prefers-reduced-motion:reduce){

    
#cerebroz-experience .story-visual, #cerebroz-experience .art-icon, #cerebroz-experience .art-aura, #cerebroz-experience .art-grid{
        transform: none !important
    }


    
#cerebroz-experience{
        scroll-behavior: auto
    }

}



/* Bespoke scene artwork: individual illustrations remain independently parallax animated. */


#cerebroz-experience .art-icon .chapter-illustration{
    display: block;
    width: min(100%, 510px);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .24))
}



#cerebroz-experience .art-icon{
    width: 100%;
    height: 100%
}



#cerebroz-experience .art-grid{
    opacity: .42
}



@media (max-width:760px){
    
#cerebroz-experience .art-icon .chapter-illustration{
        width: min(75vw, 310px);
        max-height: 32vh
    }


    
#cerebroz-experience .art-icon{
        min-height: 0
    }

}



/* Scroll-driven thinking curve — added without changing the existing scene design. */


#cerebroz-experience .thinking-curve-scroll{
    grid-column: 1 / -1;
    width: 100%;
    height: 56px;
    pointer-events: none;
    overflow: visible;
}



#cerebroz-experience .thinking-curve-svg{
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}



#cerebroz-experience .thinking-curve-guide, #cerebroz-experience .thinking-curve-active{
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.5;
    vector-effect: non-scaling-stroke;
}



#cerebroz-experience .thinking-curve-guide{
    stroke: rgba(218, 222, 209, .24);
    stroke-dasharray: 4 9;
    stroke-width: 2;
}



#cerebroz-experience .thinking-curve-active{
    stroke: url(#thinking-curve-gradient);
    filter: drop-shadow(0 0 3px rgba(236, 188, 95, .42));
}



#cerebroz-experience .thinking-curve-dot{
    fill: #ffe6a1;
    stroke: #a9782d;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 4px rgba(255, 214, 126, .6));
}



@media (max-width: 760px){
    
#cerebroz-experience .thinking-curve-scroll{
        height: 44px;
    }


    
#cerebroz-experience .thinking-curve-guide, #cerebroz-experience .thinking-curve-active{
        stroke-width: 2.5;
    }

}



/* Thinking curve refinement: show only the journey already travelled. */


#cerebroz-experience .thinking-curve-scroll{
    overflow: hidden;
}



#cerebroz-experience .thinking-curve-svg{
    overflow: hidden;
}



#cerebroz-experience .thinking-curve-guide{
    opacity: 1;
    visibility: visible;
    stroke: rgba(218, 222, 209, .62);
    stroke-dasharray: 2 9;
}



#cerebroz-experience .thinking-curve-active{
    stroke-dasharray: none;
}



/* Clipped reveal prevents any wrap-around ghost segment. */




#cerebroz-experience line{
    stroke: #000;
}



/*text{
    fill: #999;
}*/


/* Opportunity at chapters 10–11: the solid curve stops at chapter 9; the dotted future remains. */


#cerebroz-experience .thinking-curve-scroll{
    position: relative;
}



#cerebroz-experience .curve-opportunity-label{
    position: absolute;
    left: 81%;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFD014;
    font-size: clamp(8px, .82vw, 12px);
    font-weight: 800;
    letter-spacing: .075em;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .75);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}



#cerebroz-experience .curve-opportunity-label.is-visible{
    opacity: 1;
    visibility: visible;
    animation: cerebroz-opportunity-pulse 1.8s ease-in-out infinite;
}



@keyframes cerebroz-opportunity-pulse{

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}



@media (prefers-reduced-motion: reduce){
    
#cerebroz-experience .curve-opportunity-label.is-visible{
        animation: none;
    }

}



@media (max-width: 760px){
    
#cerebroz-experience .curve-opportunity-label{
        left: 78%;
        font-size: 8px;
        letter-spacing: 0;
    }

}



/* Chapter-phase copy: replay a subtle, high-contrast attention cue once per chapter. */


#cerebroz-experience .phase-label .phase-message-emphasis{
    display: inline-block;
    color: #FFD014;
    font-weight: 700;
    text-shadow: 0 0 0 transparent;
    animation: phase-message-reveal 1.7s ease-in-out 1 both;
}



@keyframes phase-message-reveal{
    0% {
        opacity: .45;
        filter: brightness(1);
        text-shadow: 0 0 0 transparent;
    }

    30% {
        opacity: 1;
        filter: brightness(1.25);
        text-shadow: 0 0 11px rgba(255, 208, 20, .9);
    }

    62% {
        opacity: .7;
        filter: brightness(1);
        text-shadow: 0 0 3px rgba(255, 208, 20, .3);
    }

    100% {
        opacity: 1;
        filter: brightness(1);
        text-shadow: 0 0 0 transparent;
    }
}



@media (prefers-reduced-motion: reduce){
    
#cerebroz-experience .phase-label .phase-message-emphasis{
        animation: none;
    }

}







/* CEREBROZ TYPOGRAPHY */



#cerebroz-experience{
    --font-heading: "Shadows Into Light Two", sans-serif;
    --font-body: "Quicksand", sans-serif;
}



/* Body typography */


#cerebroz-experience, #cerebroz-experience p, #cerebroz-experience li, #cerebroz-experience input, #cerebroz-experience textarea, #cerebroz-experience select, #cerebroz-experience button, #cerebroz-experience label{
    font-family: var(--font-body);
}



/* Main headings */


#cerebroz-experience h1, #cerebroz-experience h2, #cerebroz-experience h3, #cerebroz-experience h4, #cerebroz-experience h5, #cerebroz-experience h6{
    font-family: var(--font-heading);
    font-weight: 400;
}



/* Horizontal storytelling headings */


#cerebroz-experience .scene h1, #cerebroz-experience .scene h2, #cerebroz-experience .scene h3{
    font-family: var(--font-heading);
    font-weight: 400;
}



/* Supporting text */


#cerebroz-experience .scene p, #cerebroz-experience .scene .description, #cerebroz-experience .scene .subtitle{
    font-family: var(--font-body);
}






@media (max-width: 767px){

  
#cerebroz-experience .story-copy{
    padding-top: 55px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 20px;
  }


  
#cerebroz-experience .story-copy h2{
    /*font-size: clamp(30px, 7vw, 42px);*/
    line-height: 1.2;
    margin-bottom: 20px;
  }


  
#cerebroz-experience .story-copy p{
    /*font-size: 17px;*/
    line-height: 1.6;
  }


}





/* Tablet screens */


@media (min-width: 768px) and (max-width: 1024px){

  
#cerebroz-experience .story-copy{
    padding-top: 65px;
    padding-left: 40px;
    padding-right: 40px;
  }


  
#cerebroz-experience .story-copy h2{
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1.15;
  }


}






/* MOBILE LANDSCAPE OPTIMISATION */


@media screen and (orientation: landscape)
       and (max-height: 600px)
       and (max-width: 1024px){

  
/* Main story text */

  
#cerebroz-experience .story-copy{
    position: absolute;
    top: 8% !important;
    left: 5% !important;
    width: 45% !important;
    max-width: 45% !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 5;
  }


  
/* Main heading */

  
#cerebroz-experience .story-copy h1, #cerebroz-experience .story-copy h2{
    font-size: clamp(24px, 3.5vw, 40px) !important;
    line-height: 1.12 !important;
    margin: 8px 0 12px !important;
  }


  
/* Description */

  
#cerebroz-experience .story-copy p{
    font-size: clamp(12px, 1.5vw, 16px) !important;
    line-height: 1.45 !important;
    margin: 0 0 10px !important;
  }


  
/* Eyebrow and chapter text */

  
#cerebroz-experience .story-copy .eyebrow, #cerebroz-experience .story-copy .chapter-label{
    font-size: 10px !important;
    letter-spacing: 2px;
  }


  
/* Reserve the lower part for the graph */

  
#cerebroz-experience .story-copy{
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
  }

}







@media screen and (orientation: landscape)
       and (max-height: 600px)
       and (max-width: 1024px){

  
#cerebroz-experience .story-visual{
    position: absolute !important;
    top: 5% !important;
    right: 3% !important;
    left: auto !important;
    width: 44% !important;
    height: 62% !important;
    max-height: 62vh !important;
    transform: none !important;
  }


  
#cerebroz-experience .story-visual img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

}





@media screen and (orientation: landscape)
       and (max-height: 600px)
       and (max-width: 1024px){

  
#cerebroz-experience .thinking-curve-scroll{
    position: absolute !important;
    left: 5% !important;
    right: 5% !important;
    bottom: 9% !important;
    width: 90% !important;
    height: 24% !important;
    z-index: 10;
  }


  
#cerebroz-experience .thinking-curve-svg{
    width: 100%;
    height: 100%;
  }

}





/* Hide Scroll Hint in Mobile and tablet landscape only */


@media screen and (orientation: landscape)
       and (max-height: 600px)
       and (max-width: 1024px){

  
#cerebroz-experience .scroll-hint{
    display: none !important;
  }


}




/* Mobile landscape: separate chapter progress from Thinking Curve */


@media screen and (orientation: landscape)
       and (max-height: 600px)
       and (max-width: 1024px){

  
/* Chapter progress trail */

  
#cerebroz-experience .story-rail button{
    transform: translateY(-22px) !important;
  }


}

/* CEREBROZ — Fix vertical jumping during horizontal scroll 
html body .cerebroz-root {
    overflow-x: clip !important;
    overflow-y: visible !important;
}*/



/* Responsive horizontal journey: keep sticky scroll geometry consistent. */
@media (max-width: 1024px) {
  #cerebroz-experience {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
  #cerebroz-experience .story-scroll {
    height: 1100svh;
    overflow: visible !important;
  }
  #cerebroz-experience .story-pin {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100svh;
  }
  #cerebroz-experience .story-track {
    height: 100%;
  }
}



/* CEREBROZ — MOBILE & TABLET STICKY FIX */

@media screen and (max-width: 1024px) {

  body.page-template-page-cerebroz #pxl-main,
  body.page-template-page-cerebroz #pxl-wrapper {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

}


/* CEREBROZ — MOBILE PRESENTATION REFINEMENT */
@media screen and (max-width: 767px) {

  #cerebroz-experience .scene-inner {
    width: calc(100% - 32px);
    gap: 10px;
  }

  #cerebroz-experience .story-copy {
    padding: 160px 8px 8px !important;
    max-height: none !important;
    overflow-y: visible !important;
}

  #cerebroz-experience .story-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  #cerebroz-experience .scene-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #E7EAF1;
  }

  #cerebroz-experience .scene-fact p {
    font-size: 12px;
    line-height: 1.45;
    color: #F0F0F0;
  }

  #cerebroz-experience .story-visual {
    min-height: 0;
    height: auto;
    flex: 1 1 35%;
  }

  #cerebroz-experience .art-icon .chapter-illustration {
    width: min(70vw, 260px);
    max-height: 26svh;
    object-fit: contain;
  }

  #cerebroz-experience .story-ui {
    min-height: 100px;
    padding: 8px 16px 12px;
    gap: 5px 12px;
  }

  #cerebroz-experience .phase-label {
    font-size: 11px;
    line-height: 1.3;
  }

  #cerebroz-experience .story-counter {
    font-size: 11px;
    text-align: right;
  }

  #cerebroz-experience .thinking-curve-scroll {
    height: 34px;
  }

  #cerebroz-experience .scroll-hint {
    display: none;
  }
}

/* CEREBROZ — MOBILE READABILITY & NAVIGATION FIX */
@media screen and (max-width: 767px) {

  /* Improve heading contrast */
  #cerebroz-experience .story-copy h2 em {
    color: #FFD014 !important;
  }

  /* Improve paragraph readability */
  #cerebroz-experience .scene-desc {
    color: #FFFFFF !important;
    opacity: 1 !important;
  }

  #cerebroz-experience .scene-fact p {
    color: #FFFFFF !important;
    opacity: 1 !important;
  }

  /* Make the illustration more compact */
  #cerebroz-experience .art-icon .chapter-illustration {
    width: min(65vw, 240px) !important;
    max-height: 24svh !important;
  }

  /* Separate phase label and chapter counter */
  #cerebroz-experience .story-ui {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 6px;
  }

  #cerebroz-experience .phase-label {
    min-width: 0;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  #cerebroz-experience .phase-label span {
    display: block;
    margin: 4px 0 0;
    font-size: 10px;
  }

  #cerebroz-experience .story-counter {
    white-space: nowrap;
    font-size: 11px;
    align-self: start;
  }

  /* Keep the Thinking Curve within the available space */
  #cerebroz-experience .thinking-curve-scroll {
    width: 100%;
    height: 34px;
    overflow: hidden;
  }

  /* Hide Kidza scroll-to-top button on CEREBROZ mobile */
  body.page-template-page-cerebroz .pxl-scroll-top,
  body.page-template-page-cerebroz .scroll-top,
  body.page-template-page-cerebroz #scroll-top {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  #cerebroz-experience .story-copy h2 em,
  #cerebroz-experience .scene-micro strong {
    color: #FFD014 !important;
  }

  #cerebroz-experience .scene-desc,
  #cerebroz-experience .scene-fact p {
    color: #F2EAD8 !important;
    opacity: 1 !important;
  }
}

@media screen and (max-width: 767px) {
  #cerebroz-experience .story-ui {
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 16px;
  }

  #cerebroz-experience .phase-label {
    min-width: 0;
    max-width: 100%;
  }

  #cerebroz-experience .story-counter {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: auto;
    min-width: 0;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: right;
  }

  #cerebroz-experience .story-counter span {
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
  }
}

/* Hide Kidza scroll-to-top button on mobile and tablet */
@media screen and (max-width: 1199px) {
    body.page-template-page-cerebroz a.pxl-scroll-top {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
  #cerebroz-experience .story-copy h2 em,
  #cerebroz-experience .scene-micro strong {
    color: #FFD014 !important;
  }

  #cerebroz-experience .scene-desc,
  #cerebroz-experience .scene-fact p {
    color: #F2EAD8 !important;
    opacity: 1 !important;
  }
}

/* CEREBROZ — Mobile chapter counter */
@media screen and (max-width: 767px) {

  #cerebroz-experience .story-counter {
    position: relative !important;
    display: inline-flex !important;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    width: auto !important;
    min-width: 65px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: #FFFFFF !important;
    white-space: nowrap;
    z-index: 2;
  }

  #cerebroz-experience .story-counter #active-chapter {
    display: inline !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #FFD014 !important;
  }
}

/* CEREBROZ — Remove duplicate chapter label on mobile/tablet */
@media screen and (max-width: 1199px) {

  #cerebroz-experience .art-caption {
    display: none !important;
  }

}
/* CEREBROZ — Heading contrast */
#cerebroz-experience .story-copy h2 em {
    color: #FFD014 !important;
}



/* CEREBROZ — Enquiry form layout correction */

#cerebroz-experience #enquire .cerebroz-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100%;
}

#cerebroz-experience #enquire .cerebroz-form-field {
    min-width: 0;
}

#cerebroz-experience #enquire .cerebroz-form-field p {
    margin: 0 !important;
}

#cerebroz-experience #enquire .cerebroz-form-field br {
    display: none !important;
}

#cerebroz-experience #enquire .cerebroz-form-full {
    grid-column: 1 / -1 !important;
}

#cerebroz-experience #enquire .cerebroz-form-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

#cerebroz-experience #enquire .cerebroz-form-field input,
#cerebroz-experience #enquire .cerebroz-form-field select,
#cerebroz-experience #enquire .cerebroz-form-field textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #fafafa !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 5px !important;
    padding: 15px 18px !important;
    color: #333 !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

#cerebroz-experience #enquire .cerebroz-form-field input,
#cerebroz-experience #enquire .cerebroz-form-field select {
    height: 56px !important;
}

#cerebroz-experience #enquire .cerebroz-form-field textarea {
    height: 130px !important;
    min-height: 130px !important;
    resize: vertical;
}

#cerebroz-experience #enquire .cerebroz-form-submit {
    margin-top: 24px !important;
}

@media (max-width: 767px) {
    #cerebroz-experience #enquire .cerebroz-form-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    #cerebroz-experience #enquire .cerebroz-form-full {
        grid-column: auto !important;
    }
}
/* Hide the original select when Kidza creates a custom dropdown */
#cerebroz-experience #enquire
.cerebroz-form-field .nice-select + select {
    display: none !important;
}


/* CEREBROZ — Use Kidza's styled dropdown only */

/* Hide the original native select visually */
#cerebroz-experience .cerebroz-enquiry-form
.pxl-select select.wpcf7-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Keep Kidza's styled dropdown visible */
#cerebroz-experience .cerebroz-enquiry-form
.pxl-select .pxl-select-hightlight {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    cursor: pointer !important;
}

/* Keep Kidza's dropdown container full width */
#cerebroz-experience .cerebroz-enquiry-form
.pxl-select {
    position: relative;
    width: 100%;
}

/* CEREBROZ — Mobile introduction spacing */
@media (max-width: 767px) {
    #cerebroz-experience #top {
        padding-top: 48px !important;
    }
}

/* CEREBROZ — Mobile introduction refinements */
@media (max-width: 767px) {

    /* Remove theme spacing above the introduction */
    body.page-template-page-cerebroz #pxl-main {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Keep introduction comfortably below the header */
    #cerebroz-experience #top {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* Remove Kidza's default main-content spacing on CEREBROZ */
body.page-template-page-cerebroz #pxl-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* CEREBROZ homepage — desktop header spacing */
@media screen and (min-width: 1200px) {
    #cerebroz-experience #top {
        padding-top: 260px !important;
    }
}