/* BCM Yachtsales V7.8.0 – restrained premium motion for subpages */
:root{--bcm-motion-gold:#b7945a;--bcm-motion-ease:cubic-bezier(.22,.61,.36,1)}

/* Global reading progress – injected by JS */
#bcm-scroll-progress-v780{position:fixed;z-index:99999;top:0;left:0;width:100%;height:2px;pointer-events:none;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,#8f6f3d,#d0b178,#9d7b45);box-shadow:0 0 10px rgba(183,148,90,.18);will-change:transform}

/* Safe reveal primitives. JS adds .bcm-v780-ready before hiding anything. */
.bcm-v780-ready .bcm-v780-reveal{opacity:0;transform:translate3d(0,16px,0);transition:opacity .72s var(--bcm-motion-ease),transform .72s var(--bcm-motion-ease);transition-delay:var(--bcm-delay,0ms);will-change:opacity,transform}
.bcm-v780-ready .bcm-v780-reveal.bcm-v780-in{opacity:1;transform:none}
.bcm-v780-ready .bcm-v780-reveal-left{opacity:0;transform:translate3d(-18px,0,0);transition:opacity .78s var(--bcm-motion-ease),transform .78s var(--bcm-motion-ease);will-change:opacity,transform}
.bcm-v780-ready .bcm-v780-reveal-right{opacity:0;transform:translate3d(18px,0,0);transition:opacity .78s var(--bcm-motion-ease),transform .78s var(--bcm-motion-ease);will-change:opacity,transform}
.bcm-v780-ready .bcm-v780-reveal-left.bcm-v780-in,.bcm-v780-ready .bcm-v780-reveal-right.bcm-v780-in{opacity:1;transform:none}

/* Existing gold divider lines become a subtle drawing motif */
.bcm-v780-ready body:not(.home) :is(.bcm-sell-v631-line,.bcm-about-v629-line,.bcm-network-v632-line,.bcm-searchreq-v2-line,.bcm-yc-v633-line,.bcm-contact-v703-gold-line){transform-origin:left center;transform:scaleX(.08);opacity:.35;transition:transform 1.05s var(--bcm-motion-ease),opacity .55s ease}
.bcm-v780-ready body:not(.home) .bcm-v780-line-in:is(.bcm-sell-v631-line,.bcm-about-v629-line,.bcm-network-v632-line,.bcm-searchreq-v2-line,.bcm-yc-v633-line,.bcm-contact-v703-gold-line){transform:scaleX(1);opacity:1}

/* Premium image life: tiny scale only when image enters view */
body:not(.home) :is(.bcm-sell-v631-photo,.bcm-about-v629-photo,.bcm-network-v632-photo,.bcm-searchreq-v2-photo,.bcm-yc-v633-photo){overflow:hidden}
body:not(.home) :is(.bcm-sell-v631-photo,.bcm-about-v629-photo,.bcm-network-v632-photo,.bcm-yc-v633-photo) img{transition:transform 1.4s var(--bcm-motion-ease)}
body:not(.home) :is(.bcm-sell-v631-photo,.bcm-about-v629-photo,.bcm-network-v632-photo,.bcm-yc-v633-photo).bcm-v780-image-in img{transform:scale(1.025)}

/* Cards: restrained hover lift, no layout shift */
@media (hover:hover) and (pointer:fine){
  body:not(.home) :is(.bcm-sell-v631-benefit,.bcm-about-v629-value,.bcm-network-v632-benefit,.bcm-searchreq-v2-benefit,.bcm-yc-v633-benefit,.yacht-detail .spec-grid>div){transition:transform .28s var(--bcm-motion-ease),box-shadow .28s ease,border-color .28s ease}
  body:not(.home) :is(.bcm-sell-v631-benefit,.bcm-about-v629-value,.bcm-network-v632-benefit,.bcm-searchreq-v2-benefit,.bcm-yc-v633-benefit,.yacht-detail .spec-grid>div):hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,24,34,.07)}
  body:not(.home) :is(.bcm-sell-v631-button,.bcm-searchreq-v2-cta,.bcm-yc-v633-button,.bcm-yc-v634-submit,.contact-card .btn){transition:transform .25s var(--bcm-motion-ease),box-shadow .25s ease,filter .25s ease}
  body:not(.home) :is(.bcm-sell-v631-button,.bcm-searchreq-v2-cta,.bcm-yc-v633-button,.bcm-yc-v634-submit,.contact-card .btn):hover{transform:translateY(-2px)}
}

/* SELL PAGE – progress connects the existing three steps */
.bcm-sell-v631-steps{position:relative;isolation:isolate;--bcm-step-progress:0%}
@media (min-width:900px){
  .bcm-sell-v631-steps:before,.bcm-sell-v631-steps:after{content:"";position:absolute;left:8%;right:8%;top:32px;height:1px;z-index:-1;pointer-events:none}
  .bcm-sell-v631-steps:before{background:rgba(183,148,90,.22)}
  .bcm-sell-v631-steps:after{right:auto;width:var(--bcm-step-progress);background:linear-gradient(90deg,#967341,#d2b579);box-shadow:0 0 10px rgba(183,148,90,.18);transition:width .08s linear}
  .bcm-sell-v631-step-arrow{opacity:.35;transition:opacity .3s ease,transform .3s ease}
  .bcm-sell-v631-steps.bcm-v780-process-active .bcm-sell-v631-step-arrow{opacity:.8;transform:translateX(2px)}
}
.bcm-sell-v631-step-number{transition:transform .35s var(--bcm-motion-ease),box-shadow .35s ease,background-color .35s ease}
.bcm-sell-v631-step.bcm-v780-step-active .bcm-sell-v631-step-number{transform:scale(1.08);box-shadow:0 0 0 5px rgba(183,148,90,.10)}

/* ABOUT – heritage strip added in template */
.bcm-v780-heritage{max-width:1240px;margin:0 auto;padding:18px 24px 58px}
.bcm-v780-heritage-inner{position:relative;display:grid;grid-template-columns:minmax(180px,.75fr) 1.25fr;gap:42px;align-items:center;padding:30px 34px;border-top:1px solid rgba(183,148,90,.34);border-bottom:1px solid rgba(183,148,90,.22)}
.bcm-v780-heritage-year{font-size:clamp(44px,6vw,78px);font-weight:300;letter-spacing:-.035em;line-height:.95;color:var(--bcm-motion-gold)}
.bcm-v780-heritage-label{margin-top:8px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;opacity:.68}
.bcm-v780-heritage-copy{font-size:clamp(17px,2vw,22px);line-height:1.55;max-width:750px}
.bcm-v780-heritage-rule{position:absolute;left:34px;right:34px;bottom:-1px;height:1px;background:linear-gradient(90deg,var(--bcm-motion-gold) 0,var(--bcm-motion-gold) var(--bcm-heritage-progress,0%),transparent var(--bcm-heritage-progress,0%));transition:background .08s linear}
@media(max-width:760px){.bcm-v780-heritage{padding:6px 18px 38px}.bcm-v780-heritage-inner{grid-template-columns:1fr;gap:16px;padding:24px 8px}.bcm-v780-heritage-rule{left:8px;right:8px}}

/* NETWORK – handled exclusively by network-v785.css */
.bcm-network-v632-country-grid span{transition:transform .25s var(--bcm-motion-ease),opacity .25s ease}
.yacht-card{transition:transform .3s var(--bcm-motion-ease),box-shadow .3s ease}
.yacht-card .card-image{overflow:hidden}
.yacht-card .card-image img{transition:transform .6s var(--bcm-motion-ease)}
@media(hover:hover) and (pointer:fine){.yacht-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(15,24,34,.08)}.yacht-card:hover .card-image img{transform:scale(1.025)}}
@media(hover:hover){.bcm-network-v632-country-grid span:hover{transform:translateX(3px)}}

/* FORMS – completion feedback + progress bar injected by JS */
.bcm-v780-form-progress{height:2px;background:rgba(183,148,90,.18);overflow:hidden;margin:0 0 22px}
.bcm-v780-form-progress>span{display:block;width:0;height:100%;background:linear-gradient(90deg,#94713f,#d3b678);transition:width .38s var(--bcm-motion-ease)}
.bcm-v780-field-done{position:relative}
.bcm-v780-field-done:after{content:"✓";position:absolute;right:12px;top:auto;bottom:14px;transform:none;font-size:12px;color:var(--bcm-motion-gold);pointer-events:none}
.bcm-v780-field-done :is(input,select,textarea){padding-right:32px!important}
body:not(.home) :is(input,select,textarea){transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
body:not(.home) :is(input,select,textarea):focus{outline:none;box-shadow:0 0 0 3px rgba(183,148,90,.10)}

/* YACHT DETAIL – stronger hierarchy and sticky contact only on desktop */
@media(min-width:980px){.single-yacht .contact-card{position:sticky;top:112px;align-self:start}}
.single-yacht .yacht-gallery img{transition:transform 1.2s var(--bcm-motion-ease)}
@media(hover:hover){.single-yacht .yacht-gallery:hover img{transform:scale(1.012)}}
.single-yacht .spec-grid>div strong{transition:color .22s ease}
@media(hover:hover){.single-yacht .spec-grid>div:hover strong{color:var(--bcm-motion-gold)}}

/* Yachtcontroller video art feels alive even before user starts video */
.bcm-yc-v635-art-ring{animation:bcm-v780-ring 6s linear infinite}
.bcm-yc-v635-art-dot{animation:bcm-v780-dot 2.4s ease-in-out infinite}
@keyframes bcm-v780-ring{to{transform:rotate(360deg)}}
@keyframes bcm-v780-dot{0%,100%{transform:scale(.88);opacity:.65}50%{transform:scale(1.12);opacity:1}}

/* Respect accessibility and save battery on small devices */
@media (prefers-reduced-motion:reduce){
  #bcm-scroll-progress-v780{display:none}
  .bcm-v780-ready .bcm-v780-reveal,.bcm-v780-ready .bcm-v780-reveal-left,.bcm-v780-ready .bcm-v780-reveal-right{opacity:1!important;transform:none!important;transition:none!important}
  body:not(.home) :is(.bcm-sell-v631-photo,.bcm-about-v629-photo,.bcm-network-v632-photo,.bcm-yc-v633-photo) img{transform:none!important;transition:none!important}
  .bcm-yc-v635-art-ring,.bcm-yc-v635-art-dot{animation:none!important;transition:none!important}
}
@media(max-width:760px){
  #bcm-scroll-progress-v780{height:1px}
  .bcm-v780-ready .bcm-v780-reveal{transform:translate3d(0,9px,0);transition-duration:.5s}
  .bcm-v780-ready .bcm-v780-reveal-left,.bcm-v780-ready .bcm-v780-reveal-right{transform:translate3d(0,9px,0);transition-duration:.5s}
}
