/* Binjarra Falcon v2.8.0 — full-width animated company profile.
   Every slide always comes to rest on the exact presentation image. */
html{scroll-padding-top:0}
body.bjf-site{background:#f2e3c1}
.profile-deck{padding:72px 0 0;margin:0;max-width:none}
.chapter{margin:0;padding:0}

/* each slide fits the screen. The sides are filled with a soft, blurred extension of the same slide,
   so the colours continue the slide itself, and the slide's left and right edges fade into it. */
.slide{position:relative;display:flex;justify-content:center;width:100%;margin:0;overflow:hidden;background:#e9d2a0}
.slide .ambient{position:absolute;inset:-60px;z-index:0;background-size:100% 100%;background-position:center;filter:blur(38px) saturate(1.05);transform:scaleX(1.02);pointer-events:none}
.slide .frame{position:relative;z-index:1;width:min(100%,calc(100vh * 16 / 9));aspect-ratio:16/9;overflow:hidden;contain:paint}
@supports (height:100svh){.slide .frame{width:min(100%,calc(100svh * 16 / 9))}}
/* only when there is space at the sides: fade the slide edges (image and video) into the side colour */
@media (min-aspect-ratio:16/9){
 .slide .frame{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 52px,#000 calc(100% - 52px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 52px,#000 calc(100% - 52px),transparent 100%)}
}
.slide .stage{position:absolute;inset:0;will-change:transform,clip-path;background:#efdcb4}
.slide .stage>img,.slide .stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none;display:block}
.slide .stage>img{z-index:2;transition:opacity .45s ease}
.slide .stage>video{z-index:1;background:#efdcb4}
/* animated slides: image → animation → exact image */
.slide.fx-anim.playing .stage>img{opacity:0;transition:opacity .35s ease}
.slide.fx-anim.done .stage>img{opacity:1;transition:opacity .9s ease}

/* entrance effects (only when JavaScript runs, so content is never hidden otherwise) */
.bjf-js .slide.fx-gold:not(.in) .stage{clip-path:inset(0 100% 0 0)}
.bjf-js .slide.fx-gold.in .stage{animation:bjf-wipe 1.35s cubic-bezier(.75,0,.2,1) both}
.bjf-js .slide.fx-gold.in .edge{animation:bjf-edge 1.35s cubic-bezier(.75,0,.2,1) both}
@keyframes bjf-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.slide .edge{position:absolute;top:0;bottom:0;left:0;width:6px;z-index:5;pointer-events:none;opacity:0;background:linear-gradient(180deg,#fff6d0,#e6b850 35%,#fff1b8 55%,#c08722);box-shadow:0 0 28px 10px rgba(255,214,120,.55)}
@keyframes bjf-edge{0%{left:0;opacity:1}88%{opacity:1}100%{left:100%;opacity:0}}

.bjf-js .slide.fx-photo:not(.in) .stage{opacity:0}
.bjf-js .slide.fx-photo.in .stage{animation:bjf-camera 2.6s cubic-bezier(.16,.8,.22,1) both}
@keyframes bjf-camera{0%{opacity:0;transform:scale(1.16);filter:brightness(1.35) saturate(.8) blur(3px)}35%{opacity:1;filter:brightness(1.1) blur(0)}100%{opacity:1;transform:none;filter:none}}

.bjf-js .slide.fx-anim:not(.in) .stage{opacity:0;transform:scale(1.03)}
.bjf-js .slide.fx-anim.in .stage{opacity:1;transform:none;transition:opacity .7s ease,transform 1.2s cubic-bezier(.16,.8,.22,1)}

/* gold light sweep: once on arrival, then every few seconds while on screen */
.slide .sheen{position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(255,250,228,.0) 42%,rgba(255,248,215,.42) 50%,rgba(255,250,228,0) 58%,transparent 62%);transform:translateX(-130%);mix-blend-mode:screen}
.slide.in .sheen{animation:bjf-sheen 1.5s ease-in-out 1.3s 1 both}
.slide.fx-anim .sheen{display:none}
@keyframes bjf-sheen{from{transform:translateX(-130%)}to{transform:translateX(130%)}}

/* controls on top of the slide */
.slide-zoom{position:absolute;right:12px;bottom:12px;z-index:8;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,236,180,.7);background:rgba(60,42,14,.45);color:#fff1c4;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .25s;backdrop-filter:blur(4px)}
.slide:hover .slide-zoom,.slide-zoom:focus-visible{opacity:1}
@media (hover:none){.slide-zoom{opacity:.8;width:30px;height:30px;right:8px;bottom:8px}}
.contents-hotspots{position:absolute;inset:0;z-index:7}
.contents-hotspots a{position:absolute;left:10.4%;width:43%;height:7%;border-radius:8px}
.contents-hotspots a:hover,.contents-hotspots a:focus-visible{background:rgba(255,255,255,.16);box-shadow:0 0 0 2px rgba(180,130,30,.75)}
.deck-download{text-align:center;margin:0;padding:34px 16px;background:linear-gradient(180deg,#f6e8c6,#ecd6a6)}

/* header: fixed, hides while scrolling down so it never covers the slides */
.bjf-profile-design .site-header{position:fixed;top:0;left:0;right:0;z-index:60;max-width:none;margin:0;min-height:72px;padding:10px clamp(16px,3vw,48px);background:rgba(31,24,13,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(215,174,104,.35);transition:transform .35s ease}
.bjf-profile-design .site-header.header-hidden{transform:translateY(-100%)}
.bjf-profile-design .site-header .brand{width:130px}
.bjf-profile-design .site-header .brand img{filter:none}
.bjf-profile-design .site-header nav{gap:clamp(12px,1.6vw,26px)}
.bjf-profile-design .site-header nav a{color:#f0dba6;font-size:13px;letter-spacing:.04em}
.bjf-profile-design .site-header nav a:hover{color:#fff3cf}
.bjf-profile-design .site-header nav .nav-contact{color:#1b1710;background:linear-gradient(135deg,#f6d77c,#c48a2c);padding:9px 16px;border-radius:999px}
.bjf-profile-design .menu-toggle span{background:#ecd4aa}
@media(max-width:1100px){
 .bjf-profile-design .site-header .menu-toggle{display:block}
 .bjf-profile-design .site-header nav,.bjf-profile-design .site-header nav.open{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:12px clamp(16px,3vw,48px) 20px;background:#1f180d!important;border-bottom:1px solid #ad8547}
 .bjf-profile-design .site-header nav.open{display:flex}
 .bjf-profile-design .site-header nav a{font-size:15px;padding:13px 0;min-height:44px;border-bottom:1px solid rgba(215,174,104,.15);color:#f0dba6!important}
 .bjf-profile-design .site-header nav .nav-contact{margin-top:12px;text-align:center;border:0;color:#1b1710!important}
}
@media(max-width:600px){.profile-deck{padding-top:62px}.bjf-profile-design .site-header{min-height:62px}.bjf-profile-design .site-header .brand{width:110px}}

/* contact keeps the cream-gold look, full width */
.bjf-profile-design .section.contact{background:linear-gradient(180deg,#f6e8c6,#ecd6a6)!important;max-width:none;margin:0;border-radius:0}

/* viewer */
#lightbox{width:min(96vw,1800px);max-width:none;padding:0;background:#1f180d;border:0}
#lightbox::backdrop{background:rgba(20,15,6,.9)}
#lightbox img{display:block;width:100%;height:auto;max-height:84vh;object-fit:contain}
/* floating quick buttons: Home and Contact */
.float-nav{position:fixed;right:clamp(14px,2vw,28px);bottom:clamp(14px,2.5vw,32px);z-index:70;display:flex;flex-direction:column;gap:12px}
.float-btn{position:relative;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#2a1c06;background:linear-gradient(135deg,#fbe39a,#d9a441 55%,#b07a22);border:1px solid rgba(255,244,205,.85);box-shadow:0 8px 22px rgba(60,38,6,.38),inset 0 1px 0 rgba(255,255,255,.6);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.float-btn:hover,.float-btn:focus-visible{transform:translateY(-2px) scale(1.05);box-shadow:0 12px 28px rgba(60,38,6,.45)}
.float-btn span{position:absolute;right:66px;top:50%;transform:translateY(-50%);white-space:nowrap;padding:6px 12px;border-radius:999px;background:rgba(31,24,13,.9);color:#f0dba6;font-size:13px;letter-spacing:.04em;opacity:0;pointer-events:none;transition:opacity .2s}
.float-btn:hover span,.float-btn:focus-visible span{opacity:1}
@media(max-width:600px){.float-btn{width:48px;height:48px}.float-btn svg{width:20px;height:20px}}
/* the slide zoom button moves to the bottom-left so it never sits under the floating buttons */
.slide-zoom{right:auto;left:12px}
@media (hover:none){.slide-zoom{left:8px}}
@media (hover:none){.float-btn span{display:none}}
