/* One page frame: overlapping branches continue across every section boundary. */
body[data-visual-theme]{position:relative;isolation:isolate}
[data-visual-theme] main{overflow-x:clip}
.botanical-flow{position:absolute;inset:0 0 auto;pointer-events:none;z-index:6;overflow:hidden;contain:layout paint}
.botanical-flow__rail{position:absolute;top:0;bottom:0;width:clamp(32px,calc((100vw - 1160px)/2 + 20px),155px);overflow:hidden;mask-image:linear-gradient(to right,#000 15%,transparent 100%)}
.botanical-flow__rail--left{left:0}
.botanical-flow__rail--right{right:0;transform:scaleX(-1)}
.botanical-flow__branch{position:absolute;left:-25px;width:210px;height:760px;background-position:left center;background-repeat:no-repeat;background-size:auto 100%;transform:var(--turn);mask-image:linear-gradient(to bottom,transparent,#000 26%,#000 68%,transparent);opacity:.78}
.botanical-flow__branch--flowers{background-image:url('../installed/menekse-v4/assets/bougainvillea-border.webp')}
.botanical-flow__branch--olive{background-image:url('../installed/menekse-v4/assets/olive-corner.webp');opacity:.68}
/* Remove the isolated source-theme ornaments, keeping the source artwork intact. */
[data-visual-theme] :is(.intro,.stories,.reference-detail,.v2-routes,.v2-tour-content,.v2-about,.v2-footer,footer)::before,
[data-visual-theme] :is(.intro,.stories,.reference-detail,.v2-routes,.v2-tour-content,.v2-about,.v2-footer,footer)::after,
body[data-visual-theme]::before{display:none!important}
@media(max-width:800px){.botanical-flow__rail{width:24px}.botanical-flow__branch{left:-45px;width:130px;opacity:.28;background-size:auto 85%}.botanical-flow__branch--olive{opacity:.3}}
@media(prefers-reduced-motion:reduce){.botanical-flow{scroll-behavior:auto}}
/* Graceful static frame when scripts are unavailable. */
.botanical-flow{min-height:100%}
.botanical-flow__rail:empty{background:url('../installed/menekse-v4/assets/olive-corner.webp') left top/auto 760px repeat-y;opacity:.55}
@media(max-width:800px){.botanical-flow__rail:empty{opacity:.25}}
@media print{.botanical-flow{display:none}}
