/* Shared transition geometry; artwork, palette and compositions belong to the venue. */
.bn-page-curtain {position:fixed;inset:0;z-index:29;pointer-events:none;overflow:visible;}
.bn-page-curtain__panel {position:absolute;inset:0;background:var(--bn-transition-bg,#1c2826);}
.bn-page-curtain__panel::after {content:"";position:absolute;inset:auto 0 0;height:1px;background:var(--bn-accent,#bd9368);opacity:.5;}
.bn-page-curtain__object {position:absolute;filter:brightness(var(--bn-transition-art-brightness,1.65));opacity:var(--bn-transition-art-opacity,.75);max-width:720px;}
.bn-page-curtain__object img {display:block;width:100%;height:auto;}
.bn-page-curtain[hidden] {display:none;}
.bn-page-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html::after { content: ''; position: fixed; z-index: 10000; top: 0; left: 0; width: 100%; height: 2px; background: var(--bn-accent, #bd9368); transform: scaleX(0); transform-origin: left; pointer-events: none; opacity: 0; }
html.bn-page-loading::after { opacity: 1; animation: bn-page-progress 2s cubic-bezier(.2,.6,.2,1) forwards; }
.bn-page-enter { animation: bn-page-enter 1.1s cubic-bezier(.22,1,.36,1) both; }
@keyframes bn-page-enter { from { clip-path: inset(0); transform: translateY(48px); } to { clip-path: inset(0); transform: translateY(0); } }
@keyframes bn-page-progress { from { transform: scaleX(.05); } to { transform: scaleX(.88); } }

.bn-page-curtain__object[hidden] {display:none;}
html.bn-navigation-arrival::before {content:"";position:fixed;inset:0;z-index:29;background:var(--bn-transition-bg,#1c2826);}
@media(prefers-reduced-motion:reduce) {.bn-page-curtain,html.bn-navigation-arrival::before {display:none;} .bn-page-enter {animation:none;} html.bn-page-loading::after {animation:none;transform:scaleX(1);}}

/* Keep header content above the curtain without its opaque surface. */
html:is(.bn-curtain-active,.bn-navigation-arrival) .bn-header.bn-header--enhanced {background:transparent!important;backdrop-filter:none;-webkit-backdrop-filter:none;transition:none;}
