/* Bold Future 1.0.2 – minimal header, always-reachable contact, consistent lifting cards.
   Only CSS transforms on the card containers; inner SVG animations remain independent. */

/* T.L. plus a small language utility. No desktop nav or mobile hamburger. */
header.wrap{position:relative;top:auto;z-index:60;background:transparent}
header.wrap:before{display:none}
header.wrap .nav.nav--minimal{
  min-height:70px;
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:7px 0;
}
header.wrap .nav--minimal .brand{flex:0 0 auto}
header.wrap .nav--minimal .lang-switch{flex:0 0 auto;margin-left:auto}
header.wrap .nav--minimal nav,
header.wrap .nav--minimal .menu-toggle{display:none!important}

/* Floating CTA: fixed to the viewport, yellow marker oval, above ordinary content. */
.floating-contact{
  position:fixed;
  inset:auto max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) auto;
  z-index:95;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:128px;
  min-height:58px;
  padding:12px 22px 13px;
  border:3px solid #10182f;
  border-radius:999px 950px 1050px 970px;
  background:#ffe58a;
  color:#10182f;
  box-shadow:5px 6px 0 #bfcdf3;
  font-size:20px;
  font-weight:700;
  line-height:1.1;
  text-align:center;
  text-decoration:none;
  transform:rotate(-2deg);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),
             box-shadow .22s ease,
             background-color .22s ease;
}
.floating-contact:focus-visible{outline:3px dashed #2952e3;outline-offset:5px}
@media(hover:hover) and (pointer:fine){
  .floating-contact:hover{
    background:#ffdf62;
    transform:translateY(-6px) scale(1.055) rotate(0deg);
    box-shadow:7px 10px 0 #bfcdf3;
  }
}
.floating-contact:active{transform:translateY(-2px) scale(.97) rotate(0deg)}
body.bf-subpage-open>.floating-contact{visibility:hidden}
#kontakt{scroll-margin-top:24px}

/* One consistent hover interaction for *framed cards*, including animated scenes. */
:where(
  .overview > a,
  .note--pinned,
  #milniky .timeline-card,
  #verejna-cinnost .public-art,
  #eforce .formula-copy,
  #eforce .formula-stage-card,
  #projekty .project,
  #projekty .experience-card,
  #projekty .press,
  #cesty .travel-map-panel,
  #kontakt .contact-item,
  #latest-articles .latest-card,
  .cms-block-host .cms-block
){
  transition:transform .24s cubic-bezier(.16,.8,.24,1),
             box-shadow .24s ease,
             border-color .24s ease;
}
@media(hover:hover) and (pointer:fine){
  :is(
    .note--pinned,
    #verejna-cinnost .public-art,
    #eforce .formula-copy,
    #eforce .formula-stage-card,
    #projekty .project,
    #projekty .press,
    #cesty .travel-map-panel,
    #kontakt .contact-item,
    #latest-articles .latest-card,
    .cms-block-host .cms-block
  ):hover{
    transform:translateY(-7px) rotate(.15deg)!important;
    box-shadow:8px 11px 0 #cbd9f7!important;
    border-color:#2952e3!important;
  }
}
:is(
  .note--pinned,
  #verejna-cinnost .public-art,
  #eforce .formula-copy,
  #eforce .formula-stage-card,
  #projekty .project,
  #projekty .press,
  #cesty .travel-map-panel,
  #kontakt .contact-item,
  #latest-articles .latest-card,
  .cms-block-host .cms-block
):focus-within{
  transform:translateY(-5px) rotate(.1deg)!important;
  box-shadow:7px 9px 0 #cbd9f7!important;
}

/* Ensure hover doesn't clip the moving animated card or interfere with drawing. */
#verejna-cinnost .public-art,
#eforce .formula-stage-card{will-change:transform}

@media(max-width:760px){
  header.wrap .nav.nav--minimal{height:64px;min-height:64px}
  .floating-contact{
    right:max(15px,env(safe-area-inset-right));
    bottom:max(17px,env(safe-area-inset-bottom));
    min-width:114px;
    min-height:52px;
    font-size:18px;
    padding:10px 18px;
    box-shadow:4px 5px 0 #bfcdf3;
  }
  footer{padding-bottom:68px}
}
@media(prefers-reduced-motion:reduce){
  .floating-contact,
  :is(.overview > a,.note--pinned,#milniky .timeline-card,#verejna-cinnost .public-art,#eforce .formula-copy,#eforce .formula-stage-card,#projekty .project,#projekty .experience-card,#projekty .press,#cesty .travel-map-panel,#kontakt .contact-item,#latest-articles .latest-card,.cms-block-host .cms-block){
    transition:none!important;
    will-change:auto;
  }
  .floating-contact:hover,
  :is(.note--pinned,#verejna-cinnost .public-art,#eforce .formula-copy,#eforce .formula-stage-card,#projekty .project,#projekty .press,#cesty .travel-map-panel,#kontakt .contact-item,#latest-articles .latest-card,.cms-block-host .cms-block):is(:hover,:focus-within){
    transform:none!important;
  }
}
