/* BAMBU / organic forms in the architecture, not over it.
   Folded sculptural edges (not free-floating ribbon or contour graphics).
   Preserves existing typography, photography, sketches and interaction. */
:root{--bambu-organic-blue:#00B9EB;--bambu-organic-ice:#B7F5FC}
.bambu-organic-mark,
.bambu-organic-card-detail{
  display:block;
  position:absolute!important;
  pointer-events:none!important;
  user-select:none;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}
body main#main.bambu-home > .bambu-home-services,
body main#main.bambu-services-page > .services-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
body main#main.bambu-home > .bambu-home-services > :not(.bambu-organic-mark),
body main#main.bambu-services-page > .services-hero > :not(.bambu-organic-mark){
  position:relative;
  z-index:1;
}
body main#main.bambu-home > .bambu-home-services > .bambu-organic-mark--home-services{
  width:clamp(175px,23vw,340px);
  aspect-ratio:860/790;
  right:-15%;
  top:-23%;
  opacity:.19;
  z-index:0;
  background-image:url('assets/brand/bambu-organic-fold.svg');
}
body main#main.bambu-services-page > .services-hero > .bambu-organic-mark--services{
  width:clamp(250px,36vw,520px);
  aspect-ratio:860/790;
  right:-4%;
  top:5%;
  opacity:.85;
  z-index:0;
  background-image:url('assets/brand/bambu-organic-fold.svg');
}
body main#main.bambu-company-page > .bambu-company-hero{
  position:relative;
  isolation:isolate;
}
body main#main.bambu-company-page > .bambu-company-hero > .bambu-organic-mark--about{
  width:clamp(170px,22vw,320px);
  aspect-ratio:860/790;
  right:-11%;
  bottom:-28%;
  opacity:.23;
  z-index:0;
  background-image:url('assets/brand/bambu-organic-fold.svg');
}
body main#main.bambu-company-page > .bambu-company-hero .bambu-company-hero__copy{
  position:relative;
  z-index:2;
}
body main#main[data-study="contact"] > section.intro:first-of-type{
  isolation:isolate;
}
body main#main[data-study="contact"] > section.intro:first-of-type > .bambu-organic-mark--contact{
  width:clamp(150px,21vw,280px);
  aspect-ratio:860/790;
  right:-13%;
  bottom:-20%;
  opacity:.2;
  z-index:0;
  background-image:url('assets/brand/bambu-organic-fold.svg');
}
body main#main[data-study="contact"] > section.intro:first-of-type > :is(h1,h2,p,.intro-copy,.hero-copy){
  position:relative;
  z-index:2;
}
body main#main .bambu-four-capabilities > a,
body main#main.bambu-services-page .bambu-four-capability-grid > a{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
body main#main .bambu-four-capabilities > a > .bambu-organic-card-detail,
body main#main.bambu-services-page .bambu-four-capability-grid > a > .bambu-organic-card-detail{
  width:clamp(92px,12vw,165px);
  aspect-ratio:860/790;
  right:-73px;
  top:-55px;
  z-index:0;
  opacity:.14;
  background-image:url('assets/brand/bambu-organic-fold.svg');
  transform:rotate(-13deg);
  transition:opacity .24s ease,transform .32s ease;
}
body main#main .bambu-four-capabilities > a > :not(.bambu-organic-card-detail),
body main#main.bambu-services-page .bambu-four-capability-grid > a > :not(.bambu-organic-card-detail){
  position:relative;
  z-index:1;
}
body main#main .bambu-four-capabilities > a:is(:hover,:focus-visible) > .bambu-organic-card-detail,
body main#main.bambu-services-page .bambu-four-capability-grid > a:is(:hover,:focus-visible) > .bambu-organic-card-detail{
  opacity:.48;
  transform:rotate(0deg) translate(-9px,7px);
}
body main#main a.cta:is(:hover,:focus-visible),
body main#main button.cta:is(:hover,:focus-visible){
  background-color:#00B9EB!important;
  border-color:#00B9EB!important;
  color:#18272C!important;
}
body :is(a,button,summary):focus-visible{
  outline:3px solid #00B9EB;
  outline-offset:3px;
}
/* Footer: charcoal and bronze remain premium. BAMBU Blue is a detail,
   not a giant coloured rectangle competing with the logo. */
body footer.site-footer > .bambu-footer-invite > .bambu-organic-mark--footer{
  display:none!important;
}
body footer.site-footer .bambu-footer-invite__cta{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(.8rem,2vw,1.3rem)!important;
  width:max-content!important;
  min-width:0!important;
  min-height:49px!important;
  max-width:100%!important;
  padding:.7rem .85rem .7rem 1.1rem!important;
  background:rgba(255,255,255,.035)!important;
  background-image:none!important;
  border:1px solid rgba(237,214,184,.54)!important;
  border-radius:2px!important;
  color:#F5EFE5!important;
  font-size:clamp(.86rem,1.15vw,1rem)!important;
  font-weight:630!important;
  line-height:1.25!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transition:background-color .22s ease,border-color .22s ease,transform .22s ease!important;
}
body footer.site-footer .bambu-footer-invite__cta > span:first-child{
  color:inherit!important;
  line-height:1.25!important;
}
body footer.site-footer .bambu-footer-invite__cta > span:last-child{
  display:grid!important;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:50%!important;
  background:#00B9EB!important;
  color:#17292F!important;
  font-size:1.17rem;
  font-weight:650;
  transition:transform .2s ease;
}
body footer.site-footer .bambu-footer-invite__cta:is(:hover,:focus-visible){
  background:rgba(0,185,235,.13)!important;
  border-color:#00B9EB!important;
  color:#fff!important;
  transform:translateY(-2px);
  box-shadow:none!important;
}
body footer.site-footer .bambu-footer-invite__cta:is(:hover,:focus-visible) > span:last-child{
  transform:translate(2px,-2px);
}
@media(max-width:900px){
  body main#main.bambu-services-page > .services-hero > .bambu-organic-mark--services{
    right:-12%;
    top:24%;
    width:230px;
    opacity:.48;
  }
}
@media(max-width:760px){
  body main#main.bambu-services-page > .services-hero > .bambu-organic-mark--services{
    width:190px;
    right:-125px;
    top:33%;
    opacity:.65;
  }
  body main#main.bambu-home > .bambu-home-services > .bambu-organic-mark--home-services{
    width:145px;
    right:-90px;
    top:-45px;
    opacity:.16;
  }
  body main#main.bambu-company-page > .bambu-company-hero > .bambu-organic-mark--about,
  body main#main[data-study="contact"] > section.intro:first-of-type > .bambu-organic-mark--contact{
    display:none!important;
  }
  body footer.site-footer .bambu-footer-invite__cta{
    font-size:.9rem!important;
    padding:.6rem .65rem .6rem .85rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body .bambu-organic-card-detail,
  body footer.site-footer .bambu-footer-invite__cta,
  body footer.site-footer .bambu-footer-invite__cta > span:last-child{
    transition:none!important;
    transform:none!important;
  }
}
